summaryrefslogtreecommitdiff
path: root/usr/src/cmd/initpkg
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/initpkg')
-rw-r--r--usr/src/cmd/initpkg/Makefile13
-rw-r--r--usr/src/cmd/initpkg/init.d/Makefile6
-rw-r--r--usr/src/cmd/initpkg/rc0.d/mk.rc0.d.sh7
-rw-r--r--usr/src/cmd/initpkg/rc1.d/mk.rc1.d.sh7
-rw-r--r--usr/src/cmd/initpkg/rc2.d/mk.rc2.d.sh7
-rw-r--r--usr/src/cmd/initpkg/rc3.d/mk.rc3.d.sh6
-rw-r--r--usr/src/cmd/initpkg/rcS.d/mk.rcS.d.sh7
7 files changed, 10 insertions, 43 deletions
diff --git a/usr/src/cmd/initpkg/Makefile b/usr/src/cmd/initpkg/Makefile
index f8a685681c..4cdb5673fa 100644
--- a/usr/src/cmd/initpkg/Makefile
+++ b/usr/src/cmd/initpkg/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,11 +19,9 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
SHFILES= dfstab vfstab
CPFILES= rcS rc0 rc1 rc2 rc3 mountall shutdown swapadd umountall
@@ -52,8 +49,6 @@ DFSTAB= dfstab
SBINETC= rcS mountall rc0 rc1 rc2 rc3 rc5 rc6 swapadd umountall
USRSBINETC= shutdown
-OWNER= root
-GROUP= sys
FILEMODE= 0744
ROOTSBINF= $(SBINF:%=$(ROOTSBIN)/%)
@@ -111,7 +106,7 @@ ins_all : $(ROOTSBINF) $(ROOTSBINL) $(ROOTUSRSBINF) $(ROOTETCTABS) \
# $(INS.dir)
$(SUBDIRS): FRC
- @cd $@; pwd; ROOT=$(ROOT) CH=$(CH) sh mk.$@.sh
+ @cd $@; pwd; ROOT=$(ROOT) sh mk.$@.sh
FRC:
diff --git a/usr/src/cmd/initpkg/init.d/Makefile b/usr/src/cmd/initpkg/init.d/Makefile
index a992132bc0..a7bde6f836 100644
--- a/usr/src/cmd/initpkg/init.d/Makefile
+++ b/usr/src/cmd/initpkg/init.d/Makefile
@@ -20,11 +20,9 @@
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
include ../../Makefile.cmd
@@ -76,8 +74,6 @@ $(ROOTETCINITD)/README := FILEMODE = 0644
$(ROOTETCRCSD)/README := FILEMODE = 0644
$(ROOTETCRC2D)/README := FILEMODE = 0644
$(ROOTETCRC3D)/README := FILEMODE = 0644
-OWNER = root
-GROUP = sys
.KEEP_STATE:
diff --git a/usr/src/cmd/initpkg/rc0.d/mk.rc0.d.sh b/usr/src/cmd/initpkg/rc0.d/mk.rc0.d.sh
index fda0fd5559..48bd1bd5a7 100644
--- a/usr/src/cmd/initpkg/rc0.d/mk.rc0.d.sh
+++ b/usr/src/cmd/initpkg/rc0.d/mk.rc0.d.sh
@@ -22,11 +22,9 @@
# Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
# All Rights Reserved
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
COMMON_STOPLST="27boot.server"
@@ -35,9 +33,6 @@ INSDIR=${ROOT}/etc/rc0.d
if [ ! -d ${INSDIR} ]
then
mkdir ${INSDIR}
- eval ${CH}chmod 755 ${INSDIR}
- eval ${CH}chgrp sys ${INSDIR}
- eval ${CH}chown root ${INSDIR}
fi
for f in ${COMMON_STOPLST}
do
diff --git a/usr/src/cmd/initpkg/rc1.d/mk.rc1.d.sh b/usr/src/cmd/initpkg/rc1.d/mk.rc1.d.sh
index 19119df66c..e89ddaed93 100644
--- a/usr/src/cmd/initpkg/rc1.d/mk.rc1.d.sh
+++ b/usr/src/cmd/initpkg/rc1.d/mk.rc1.d.sh
@@ -22,11 +22,9 @@
# Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
# All rights reserved
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
COMMON_STOPLST="27boot.server"
@@ -35,9 +33,6 @@ INSDIR=${ROOT}/etc/rc1.d
if [ ! -d ${INSDIR} ]
then
mkdir ${INSDIR}
- eval ${CH}chmod 755 ${INSDIR}
- eval ${CH}chgrp sys ${INSDIR}
- eval ${CH}chown root ${INSDIR}
fi
for f in ${COMMON_STOPLST}
do
diff --git a/usr/src/cmd/initpkg/rc2.d/mk.rc2.d.sh b/usr/src/cmd/initpkg/rc2.d/mk.rc2.d.sh
index 9f76efdd90..72d0f138c1 100644
--- a/usr/src/cmd/initpkg/rc2.d/mk.rc2.d.sh
+++ b/usr/src/cmd/initpkg/rc2.d/mk.rc2.d.sh
@@ -22,11 +22,9 @@
# Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
# All Rights Reserved
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
COMMON_STARTLST="\
20sysetup \
@@ -42,9 +40,6 @@ INSDIR=${ROOT}/etc/rc2.d
if [ ! -d ${INSDIR} ]
then
mkdir ${INSDIR}
- eval ${CH}chmod 755 ${INSDIR}
- eval ${CH}chgrp sys ${INSDIR}
- eval ${CH}chown root ${INSDIR}
fi
for f in ${STOPLST}
do
diff --git a/usr/src/cmd/initpkg/rc3.d/mk.rc3.d.sh b/usr/src/cmd/initpkg/rc3.d/mk.rc3.d.sh
index 0510e25c2f..9566069421 100644
--- a/usr/src/cmd/initpkg/rc3.d/mk.rc3.d.sh
+++ b/usr/src/cmd/initpkg/rc3.d/mk.rc3.d.sh
@@ -22,10 +22,9 @@
# Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
# All Rights Reserved
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
STARTLST="16boot.server"
@@ -34,9 +33,6 @@ INSDIR=${ROOT}/etc/rc3.d
if [ ! -d ${INSDIR} ]
then
mkdir ${INSDIR}
- eval ${CH}chmod 755 ${INSDIR}
- eval ${CH}chgrp sys ${INSDIR}
- eval ${CH}chown root ${INSDIR}
fi
for f in ${STARTLST}
do
diff --git a/usr/src/cmd/initpkg/rcS.d/mk.rcS.d.sh b/usr/src/cmd/initpkg/rcS.d/mk.rcS.d.sh
index 0787bbf60e..72256e8f5b 100644
--- a/usr/src/cmd/initpkg/rcS.d/mk.rcS.d.sh
+++ b/usr/src/cmd/initpkg/rcS.d/mk.rcS.d.sh
@@ -19,13 +19,11 @@
#
# CDDL HEADER END
#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
# All rights reserved.
-#
-# ident "%Z%%M% %I% %E% SMI"
COMMON_STOPLST="\
27boot.server"
@@ -35,9 +33,6 @@ INSDIR=${ROOT}/etc/rcS.d
if [ ! -d ${INSDIR} ]
then
mkdir ${INSDIR}
- eval ${CH}chmod 755 ${INSDIR}
- eval ${CH}chgrp sys ${INSDIR}
- eval ${CH}chown root ${INSDIR}
fi
for f in ${COMMON_STOPLST}
do