Print this page
6805730 some simple changes would make 'init 5' much faster
6809492 startd shouldn't let hung subprocesses impede shutdown

@@ -1,13 +1,12 @@
 #!/sbin/sh
 #
 # 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.
 # See the License for the specific language governing permissions
 # and limitations under the License.

@@ -18,20 +17,18 @@
 # fields enclosed by brackets "[]" replaced with your own identifying
 # information: Portions Copyright [yyyy] [name of copyright owner]
 #
 # CDDL HEADER END
 #
-#       Copyright 2005 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"
-
 #       Sequence performed to change the init state of a machine.  Only allows
 #       transitions to states 0,1,5,6,s,S (i.e.: down or administrative states).
 
 #       This procedure checks to see if you are permitted and allows an
 #       interactive shutdown.  The actual change of state, killing of

@@ -137,11 +134,10 @@
 /usr/bin/date
 echo
 
 NODENAME=`uname -n`
 
-/sbin/sync
 cd /
 
 trap "rm $nologin >/dev/null 2>&1 ;exit 1"  1 2 15
 
 # If other users are on the system (and any grace period is given), warn them.