From 1f4c6dbc37f14382f7ff4575a74da056dbd34d66 Mon Sep 17 00:00:00 2001 From: Peter Tribble Date: Fri, 24 May 2019 10:39:16 -0700 Subject: 10864 Remove starcat support Reviewed by: Toomas Soome Reviewed by: Andy Fiddaman Reviewed by: John Levon Approved by: Joshua M. Clulow --- usr/src/cmd/sckmd/sparc/sun4u/Makefile | 3 ++- usr/src/cmd/sckmd/svc-sckmd | 11 ++++------- 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'usr/src/cmd/sckmd') diff --git a/usr/src/cmd/sckmd/sparc/sun4u/Makefile b/usr/src/cmd/sckmd/sparc/sun4u/Makefile index e9a415991f..fc89b4ba4a 100644 --- a/usr/src/cmd/sckmd/sparc/sun4u/Makefile +++ b/usr/src/cmd/sckmd/sparc/sun4u/Makefile @@ -21,6 +21,7 @@ # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. +# Copyright 2019 Peter Tribble. # # Makefile definitions for Sun Fire 15000 Key Management Daemon (sckmd) # @@ -50,7 +51,7 @@ $(USRPSMPROG) := FILEMODE = 0755 # # FLAGS: # -CPPFLAGS= -I$(USR_PSM_INCL_DIR) -I$(SRC)/uts/sun4u/starcat $(CPPFLAGS.master) +CPPFLAGS= -I$(USR_PSM_INCL_DIR) -I$(SRC)/uts/sun4u/opl $(CPPFLAGS.master) LINT_FLAGS= -c -Nlevel=4 -Ncheck diff --git a/usr/src/cmd/sckmd/svc-sckmd b/usr/src/cmd/sckmd/svc-sckmd index 4261c7c849..0bf66c2776 100644 --- a/usr/src/cmd/sckmd/svc-sckmd +++ b/usr/src/cmd/sckmd/svc-sckmd @@ -22,8 +22,7 @@ # # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. -# -# ident "%Z%%M% %I% %E% SMI" +# Copyright 2019 Peter Tribble. # # @@ -33,13 +32,11 @@ . /lib/svc/share/smf_include.sh platform=${_INIT_UTS_PLATFORM:-`/sbin/uname -i`} -starcat="SUNW,Sun-Fire-15000" -opl="SUNW,SPARC-Enterprise" +opl="SUNW,SPARC-Enterprise" sckmd="/usr/platform/sun4u/lib/sckmd" -if [ ${platform} = "${starcat}" -o \ - ${platform} = "${opl}" ]; then - if [ -x ${sckmd} ]; then +if [ ${platform} = "${opl}" ]; then + if [ -x ${sckmd} ]; then ${sckmd} exit $SMF_EXIT_OK fi -- cgit v1.2.3