Print this page
5861 clean up obsolete init scripts

@@ -18,31 +18,22 @@
 #
 # CDDL HEADER END
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
+# Copyright 2015 Nexenta Systems, Inc. All rights reserved.
 #
 # cmd/fs.d/ufs/quotaon/Makefile
 
 FSTYPE=         ufs
 LIBPROG=        quotaon
 QUOTAOFF=       quotaoff
 ATTMK=          $(LIBPROG)
 
-#
-# Note that no links are made from the rc[S0-3].d directories for this rc
-# script.  The normal way to ship this is completely disabled.  The process
-# for enabling this script is described in the "Routine System Administration
-# Guide" (as of this time).
-#
-INIT_SCRIPT=    ufs_quota
-ROOTINIT_D=     $(ROOTETC)/init.d
-ROOTINIT_SCRIPT=$(ROOTINIT_D)/$(INIT_SCRIPT)
-
 OTHERINSTALL=   $(ROOTLIBFSTYPE)/$(QUOTAOFF) \
-                $(ROOTUSRSBIN)/$(LIBPROG) $(ROOTUSRSBIN)/$(QUOTAOFF) \
-                $(ROOTINIT_SCRIPT)
+                $(ROOTUSRSBIN)/$(LIBPROG) $(ROOTUSRSBIN)/$(QUOTAOFF)
+
 LINKVALUEON=    ../lib/fs/$(FSTYPE)/$(LIBPROG)
 LINKVALUEOFF=   ../lib/fs/$(FSTYPE)/$(QUOTAOFF)
 
 include         ../../Makefile.fstype
 

@@ -60,8 +51,5 @@
 $(ROOTUSRSBIN)/$(LIBPROG):
                 -$(RM) $@; $(SYMLINK) $(LINKVALUEON) $@
 
 $(ROOTUSRSBIN)/$(QUOTAOFF):
                 -$(RM) $@; $(SYMLINK) $(LINKVALUEOFF) $@
-
-$(ROOTINIT_D)/% :       %
-                $(INS.file)