Author: dj
Date: 2008-04-12 23:20:45 -0600 (Sat, 12 Apr 2008)
New Revision: 8524

Modified:
   trunk/bootscripts/contrib/lsb-v3/ChangeLog
   trunk/bootscripts/contrib/lsb-v3/init.d/checkfs
   trunk/bootscripts/contrib/lsb-v3/init.d/halt
   trunk/bootscripts/contrib/lsb-v3/init.d/localnet
   trunk/bootscripts/contrib/lsb-v3/init.d/mountfs
   trunk/bootscripts/contrib/lsb-v3/init.d/reboot
   trunk/bootscripts/contrib/lsb-v3/init.d/sendsignals
   trunk/bootscripts/contrib/lsb-v3/init.d/setclock
   trunk/bootscripts/contrib/lsb-v3/init.d/swap
   trunk/bootscripts/contrib/lsb-v3/init.d/sysctl
   trunk/bootscripts/contrib/lsb-v3/init.d/sysklogd
   trunk/bootscripts/contrib/lsb-v3/init.d/template
Log:
Header corrections

Modified: trunk/bootscripts/contrib/lsb-v3/ChangeLog
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/ChangeLog  2008-04-13 04:14:11 UTC (rev 
8523)
+++ trunk/bootscripts/contrib/lsb-v3/ChangeLog  2008-04-13 05:20:45 UTC (rev 
8524)
@@ -3,6 +3,7 @@
 20080413 - [dj] * Added manage_functions script for use by scripts such as
                   {install,remove}_initd or chkconfig, that need to parse the
                   LSB headers.
+                * Cleaned up script headers to reflect real Start or Stop
 
 20080315 - [dj] * Corrected test for $pidfile in pidofproc()
                 * Replaced exit with return in statusproc() - (lfs-functions)

Modified: trunk/bootscripts/contrib/lsb-v3/init.d/checkfs
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/init.d/checkfs     2008-04-13 04:14:11 UTC 
(rev 8523)
+++ trunk/bootscripts/contrib/lsb-v3/init.d/checkfs     2008-04-13 05:20:45 UTC 
(rev 8524)
@@ -3,8 +3,8 @@
 
 ### BEGIN INIT INFO
 # Provides:            checkfs
-# Required-Start:      udev
-# Should-Start:        lvm swap
+# Required-Start:      udev swap $time
+# Should-Start:        lvm
 # Required-Stop:
 # Should-Stop:
 # Default-Start:       sysinit

Modified: trunk/bootscripts/contrib/lsb-v3/init.d/halt
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/init.d/halt        2008-04-13 04:14:11 UTC 
(rev 8523)
+++ trunk/bootscripts/contrib/lsb-v3/init.d/halt        2008-04-13 05:20:45 UTC 
(rev 8524)
@@ -7,8 +7,8 @@
 # Should-Start:
 # Required-Stop:       localnet
 # Should-Stop:
-# Default-Start:
-# Default-Stop:        0
+# Default-Start:       0
+# Default-Stop:
 # Short-Description:   Halts the system.
 # Description:         Halts the System.
 # X-LFS-Default-Start:
@@ -20,7 +20,7 @@
 
 case "${1}" in
     stop)
-        log_msg_success "Halting System..."
+        log_success_msg "Halting System..."
         halt -d -f -i -p
         ;;
     *)

Modified: trunk/bootscripts/contrib/lsb-v3/init.d/localnet
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/init.d/localnet    2008-04-13 04:14:11 UTC 
(rev 8523)
+++ trunk/bootscripts/contrib/lsb-v3/init.d/localnet    2008-04-13 05:20:45 UTC 
(rev 8524)
@@ -7,8 +7,8 @@
 # Should-Start:
 # Required-Stop:       $network
 # Should-Stop:         swap
-# Default-Start:       sysinit
-# Default-Stop:        0 6
+# Default-Start:       sysinit 0 6
+# Default-Stop:
 # Short-Description:   Starts the local network.
 # Description:         Sets the hostname of the machine and starts the 
 #                      loopback interface.

Modified: trunk/bootscripts/contrib/lsb-v3/init.d/mountfs
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/init.d/mountfs     2008-04-13 04:14:11 UTC 
(rev 8523)
+++ trunk/bootscripts/contrib/lsb-v3/init.d/mountfs     2008-04-13 05:20:45 UTC 
(rev 8524)
@@ -3,15 +3,17 @@
 
 ### BEGIN INIT INFO
 # Provides:            $local_fs
-# Required-Start:      udev
-# Should-Start:        lvm checkfs
+# Required-Start:      udev checkfs
+# Should-Start:        lvm
 # Required-Stop:       sendsignals
 # Should-Stop:
-# Default-Start:       sysinit
-# Default-Stop:        0 6
-# Short-Description:   Mounts all local filesystems as defined in /etc/fstab.
+# Default-Start:       sysinit 0 6
+# Default-Stop:
+# Short-Description:   Mounts and unmounts all local filesystems.
 # Description:         Remounts root filesystem read/write and mounts all
-#                      remaining local filesystems defined in /etc/fstab.
+#                      remaining local filesystems defined in /etc/fstab on
+#                      start.  Rmounts root filesystem read-only and unmounts
+#                      remaining filesystems on stop.
 # X-LFS-Default-Start: S40
 # X-LFS-Default-Stop:  S70
 # X-LFS-Provided-By:   LFS

Modified: trunk/bootscripts/contrib/lsb-v3/init.d/reboot
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/init.d/reboot      2008-04-13 04:14:11 UTC 
(rev 8523)
+++ trunk/bootscripts/contrib/lsb-v3/init.d/reboot      2008-04-13 05:20:45 UTC 
(rev 8524)
@@ -2,13 +2,13 @@
 # Begin /etc/init.d/reboot
 
 ### BEGIN INIT INFO
-# Provides:            halt
+# Provides:            reboot
 # Required-Start:
 # Should-Start:
 # Required-Stop:       localnet
 # Should-Stop:
-# Default-Start:
-# Default-Stop:        6
+# Default-Start:       6
+# Default-Stop:
 # Short-Description:   Reboots the system.
 # Description:         Reboots the System.
 # X-LFS-Default-Start:

Modified: trunk/bootscripts/contrib/lsb-v3/init.d/sendsignals
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/init.d/sendsignals 2008-04-13 04:14:11 UTC 
(rev 8523)
+++ trunk/bootscripts/contrib/lsb-v3/init.d/sendsignals 2008-04-13 05:20:45 UTC 
(rev 8524)
@@ -7,8 +7,8 @@
 # Should-Start:
 # Required-Stop:       $syslog
 # Should-Stop:
-# Default-Start:
-# Default-Stop:        0 6
+# Default-Start:       0 6
+# Default-Stop:
 # Short-Description:   Attempts to kill remaining processes.
 # Description:         Attempts to kill remaining processes.
 # X-LFS-Default-Start:

Modified: trunk/bootscripts/contrib/lsb-v3/init.d/setclock
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/init.d/setclock    2008-04-13 04:14:11 UTC 
(rev 8523)
+++ trunk/bootscripts/contrib/lsb-v3/init.d/setclock    2008-04-13 05:20:45 UTC 
(rev 8524)
@@ -3,8 +3,8 @@
 
 ### BEGIN INIT INFO
 # Provides:            $time
-# Required-Start:      $local_fs
-# Should-Start:        udev_retry
+# Required-Start:      udev
+# Should-Start:
 # Required-Stop:
 # Should-Stop:
 # Default-Start:       sysinit

Modified: trunk/bootscripts/contrib/lsb-v3/init.d/swap
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/init.d/swap        2008-04-13 04:14:11 UTC 
(rev 8523)
+++ trunk/bootscripts/contrib/lsb-v3/init.d/swap        2008-04-13 05:20:45 UTC 
(rev 8524)
@@ -3,12 +3,12 @@
 
 ### BEGIN INIT INFO
 # Provides:            swap
-# Required-Start:      mountkernfs
+# Required-Start:      mountkernfs udev
 # Should-Start:        lvm
 # Required-Stop:       $local_fs
 # Should-Stop:
-# Default-Start:       sysinit
-# Default-Stop:        0 6
+# Default-Start:       sysinit 0 6
+# Default-Stop:
 # Short-Description:   Mounts and unmounts swap partitions.
 # Description:         Mounts and unmounts swap partitions defined in 
 #                      /etc/fstab.

Modified: trunk/bootscripts/contrib/lsb-v3/init.d/sysctl
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/init.d/sysctl      2008-04-13 04:14:11 UTC 
(rev 8523)
+++ trunk/bootscripts/contrib/lsb-v3/init.d/sysctl      2008-04-13 05:20:45 UTC 
(rev 8524)
@@ -3,7 +3,7 @@
 
 ### BEGIN INIT INFO
 # Provides:            sysctl
-# Required-Start:      mountkernfs
+# Required-Start:      udev
 # Should-Start:
 # Required-Stop:
 # Should-Stop:

Modified: trunk/bootscripts/contrib/lsb-v3/init.d/sysklogd
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/init.d/sysklogd    2008-04-13 04:14:11 UTC 
(rev 8523)
+++ trunk/bootscripts/contrib/lsb-v3/init.d/sysklogd    2008-04-13 05:20:45 UTC 
(rev 8524)
@@ -7,7 +7,7 @@
 # Should-Start:
 # Required-Stop:       $network
 # Should-Stop:
-# Default-Start:       2 3 4 6
+# Default-Start:       2 3 4 5
 # Default-Stop:        0 1 6
 # Short-Description:   Starts kernel and system log daemons.
 # Description:         Starts kernel and system log daemons.

Modified: trunk/bootscripts/contrib/lsb-v3/init.d/template
===================================================================
--- trunk/bootscripts/contrib/lsb-v3/init.d/template    2008-04-13 04:14:11 UTC 
(rev 8523)
+++ trunk/bootscripts/contrib/lsb-v3/init.d/template    2008-04-13 05:20:45 UTC 
(rev 8524)
@@ -2,19 +2,18 @@
 # Begin /etc/init.d/template
 
 ### BEGIN INIT INFO
-# Provides:            template (the name of the script unless LSB defined)
-# Required-Start:      $local_fs $time $syslog (itmes that must be started)
-# Should-Start:        $portmap $remote_fs $named (optional items started)
-# Required-Stop:       $network sendsignals (items that must be stopped)
-# Should-Stop:         $time (items that are optional but should be stopped)
-# Default-Start:       2 3 4 5
-# Default-Stop:        0 1 6
-# Short-Description:   Provides a template.
-# Description:         Provides a detailed template to create your own 
-#                      startup scripts.
-# X-LFS-Default-Start: S50
-# X-LFS-Default-Stop:  K25 (this can be an S value if run after K scripts)
-# X-LFS-Provided-By:   LFS (BOOK or Project - just an informative text field)
+# Provides:            template
+# Required-Start:
+# Should-Start:
+# Required-Stop:
+# Should-Stop:
+# Default-Start:
+# Default-Stop:
+# Short-Description:
+# Description: 
+# X-LFS-Default-Start:
+# X-LFS-Default-Stop:
+# X-LFS-Provided-By:
 ### END INIT INFO
 
 # Source the LSB init-functions, ours are pulled in from there.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to