aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2008-08-30 06:48:00 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2008-08-30 06:48:00 +0000
commit614a14eaf08401fb44f88b984de3672404e371ab (patch)
treed9d529371359054224836cdba0e9fc67efc57c0b /bootscripts
parentabcee477f075df829c8f43198d3ee45453daae81 (diff)
Corrected remaining dependency errors in LSB headers
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8553 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/contrib/lsb-v3/ChangeLog2
-rw-r--r--bootscripts/contrib/lsb-v3/init.d/checkfs2
-rw-r--r--bootscripts/contrib/lsb-v3/init.d/halt2
-rw-r--r--bootscripts/contrib/lsb-v3/init.d/localnet4
-rw-r--r--bootscripts/contrib/lsb-v3/init.d/mountfs2
-rw-r--r--bootscripts/contrib/lsb-v3/init.d/network6
-rw-r--r--bootscripts/contrib/lsb-v3/init.d/reboot2
-rw-r--r--bootscripts/contrib/lsb-v3/init.d/sendsignals4
-rw-r--r--bootscripts/contrib/lsb-v3/init.d/setclock10
-rw-r--r--bootscripts/contrib/lsb-v3/init.d/swap8
-rw-r--r--bootscripts/contrib/lsb-v3/init.d/sysklogd4
11 files changed, 24 insertions, 22 deletions
diff --git a/bootscripts/contrib/lsb-v3/ChangeLog b/bootscripts/contrib/lsb-v3/ChangeLog
index c47832093..fc416a888 100644
--- a/bootscripts/contrib/lsb-v3/ChangeLog
+++ b/bootscripts/contrib/lsb-v3/ChangeLog
@@ -1,5 +1,7 @@
ChangeLog
+20080830 - [dj] * Corrected remaining dependency errors in scrpt headers.
+
20080531 - [dj] * Synced with LFS-Bootscrpts-20080531 (use udevadm)
* Added additional functions to manage_functions script.
diff --git a/bootscripts/contrib/lsb-v3/init.d/checkfs b/bootscripts/contrib/lsb-v3/init.d/checkfs
index 5523d5e51..739f71409 100644
--- a/bootscripts/contrib/lsb-v3/init.d/checkfs
+++ b/bootscripts/contrib/lsb-v3/init.d/checkfs
@@ -4,7 +4,7 @@
### BEGIN INIT INFO
# Provides: checkfs
# Required-Start: udev swap $time
-# Should-Start: lvm
+# Should-Start:
# Required-Stop:
# Should-Stop:
# Default-Start: sysinit
diff --git a/bootscripts/contrib/lsb-v3/init.d/halt b/bootscripts/contrib/lsb-v3/init.d/halt
index 22c14d6a4..da933a127 100644
--- a/bootscripts/contrib/lsb-v3/init.d/halt
+++ b/bootscripts/contrib/lsb-v3/init.d/halt
@@ -5,7 +5,7 @@
# Provides: halt
# Required-Start:
# Should-Start:
-# Required-Stop: localnet
+# Required-Stop:
# Should-Stop:
# Default-Start: 0
# Default-Stop:
diff --git a/bootscripts/contrib/lsb-v3/init.d/localnet b/bootscripts/contrib/lsb-v3/init.d/localnet
index 1a68fe3a2..4baf03ffe 100644
--- a/bootscripts/contrib/lsb-v3/init.d/localnet
+++ b/bootscripts/contrib/lsb-v3/init.d/localnet
@@ -5,8 +5,8 @@
# Provides: localnet
# Required-Start: $local_fs
# Should-Start:
-# Required-Stop: $network
-# Should-Stop: swap
+# Required-Stop:
+# Should-Stop: halt reboot
# Default-Start: sysinit 0 6
# Default-Stop:
# Short-Description: Starts the local network.
diff --git a/bootscripts/contrib/lsb-v3/init.d/mountfs b/bootscripts/contrib/lsb-v3/init.d/mountfs
index eb9a728eb..54cc287b7 100644
--- a/bootscripts/contrib/lsb-v3/init.d/mountfs
+++ b/bootscripts/contrib/lsb-v3/init.d/mountfs
@@ -4,7 +4,7 @@
### BEGIN INIT INFO
# Provides: $local_fs
# Required-Start: udev checkfs
-# Should-Start: lvm
+# Should-Start:
# Required-Stop: sendsignals
# Should-Stop:
# Default-Start: sysinit 0 6
diff --git a/bootscripts/contrib/lsb-v3/init.d/network b/bootscripts/contrib/lsb-v3/init.d/network
index 799f1861c..efcdd950a 100644
--- a/bootscripts/contrib/lsb-v3/init.d/network
+++ b/bootscripts/contrib/lsb-v3/init.d/network
@@ -4,9 +4,9 @@
### BEGIN INIT INFO
# Provides: $network
# Required-Start: $syslog
-# Should-Start:
-# Required-Stop:
-# Should-Stop: $remote_fs
+# Should-Start:
+# Required-Stop: $syslog $local_fs swap localnet
+# Should-Stop: halt reboot
# Default-Start: 3 4 5
# Default-Stop: 0 1 2 6
# Short-Description: Starts and configures network interfaces.
diff --git a/bootscripts/contrib/lsb-v3/init.d/reboot b/bootscripts/contrib/lsb-v3/init.d/reboot
index 6e6b71f8b..0de939aca 100644
--- a/bootscripts/contrib/lsb-v3/init.d/reboot
+++ b/bootscripts/contrib/lsb-v3/init.d/reboot
@@ -5,7 +5,7 @@
# Provides: reboot
# Required-Start:
# Should-Start:
-# Required-Stop: localnet
+# Required-Stop:
# Should-Stop:
# Default-Start: 6
# Default-Stop:
diff --git a/bootscripts/contrib/lsb-v3/init.d/sendsignals b/bootscripts/contrib/lsb-v3/init.d/sendsignals
index 152cbfb2a..f0ac4032b 100644
--- a/bootscripts/contrib/lsb-v3/init.d/sendsignals
+++ b/bootscripts/contrib/lsb-v3/init.d/sendsignals
@@ -5,8 +5,8 @@
# Provides: sendsignals
# Required-Start:
# Should-Start:
-# Required-Stop: $syslog
-# Should-Stop:
+# Required-Stop: $local_fs swap localnet
+# Should-Stop: halt reboot
# Default-Start: 0 6
# Default-Stop:
# Short-Description: Attempts to kill remaining processes.
diff --git a/bootscripts/contrib/lsb-v3/init.d/setclock b/bootscripts/contrib/lsb-v3/init.d/setclock
index a5237e9cb..05e974a7a 100644
--- a/bootscripts/contrib/lsb-v3/init.d/setclock
+++ b/bootscripts/contrib/lsb-v3/init.d/setclock
@@ -3,18 +3,18 @@
### BEGIN INIT INFO
# Provides: $time
-# Required-Start: udev
+# Required-Start: udev swap
# Should-Start:
-# Required-Stop:
-# Should-Stop:
+# Required-Stop: $network $syslog $local_fs
+# Should-Stop: halt reboot
# Default-Start: sysinit
# Default-Stop:
# Short-Description: Stores and restores time from the hardware clock
# Description: On boot, system time is obtained from hwclock. The
# hardware clock can also be set on shutdown.
# X-LFS-Default-Start: S25
-# X-LFS-Default-Stop:
-# X-LFS-Provided-By: LFS
+# X-LFS-Default-Stop: K46
+# X-LFS-Provided-By: LFS BLFS
### END INIT INFO
. /lib/lsb/init-functions
diff --git a/bootscripts/contrib/lsb-v3/init.d/swap b/bootscripts/contrib/lsb-v3/init.d/swap
index 87c5f61c2..e846e2e9f 100644
--- a/bootscripts/contrib/lsb-v3/init.d/swap
+++ b/bootscripts/contrib/lsb-v3/init.d/swap
@@ -3,10 +3,10 @@
### BEGIN INIT INFO
# Provides: swap
-# Required-Start: mountkernfs udev
-# Should-Start: lvm
-# Required-Stop: $local_fs
-# Should-Stop:
+# Required-Start: udev
+# Should-Start:
+# Required-Stop: localnet
+# Should-Stop: halt reboot
# Default-Start: sysinit 0 6
# Default-Stop:
# Short-Description: Mounts and unmounts swap partitions.
diff --git a/bootscripts/contrib/lsb-v3/init.d/sysklogd b/bootscripts/contrib/lsb-v3/init.d/sysklogd
index 329349e81..8a8280e31 100644
--- a/bootscripts/contrib/lsb-v3/init.d/sysklogd
+++ b/bootscripts/contrib/lsb-v3/init.d/sysklogd
@@ -5,8 +5,8 @@
# Provides: $syslog
# Required-Start: localnet
# Should-Start:
-# Required-Stop: $network
-# Should-Stop:
+# Required-Stop: sendsignals $local_fs swap
+# Should-Stop: halt reboot
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Starts kernel and system log daemons.