aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2020-08-17 06:24:10 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2020-08-17 06:24:10 +0000
commitf92b8de7c4a2cb96bc1375bb422173922edbfe33 (patch)
treebcdf11dbe06fb07f928ad0754008da51b8f76f44 /bootscripts
parent6a06eaf8448fb37ba08de818e99aee6a6522a8d5 (diff)
Move $syslog to Should-Start for the network bootscript, ensure checkfs bootscript runs after swap.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12025 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/lfs/init.d/checkfs4
-rw-r--r--bootscripts/lfs/init.d/network8
2 files changed, 6 insertions, 6 deletions
diff --git a/bootscripts/lfs/init.d/checkfs b/bootscripts/lfs/init.d/checkfs
index 2ca032033..42fce219a 100644
--- a/bootscripts/lfs/init.d/checkfs
+++ b/bootscripts/lfs/init.d/checkfs
@@ -27,7 +27,7 @@
### BEGIN INIT INFO
# Provides: checkfs
-# Required-Start: udev
+# Required-Start: udev swap
# Should-Start:
# Required-Stop:
# Should-Stop:
@@ -94,7 +94,7 @@ case "${1}" in
if [ "${error_value}" = 1 ]; then
msg="\nWARNING:\n\nFile system errors "
msg="${msg}were found and have been corrected.\n"
- msg="${msg} You may want to double-check that "
+ msg="${msg} You may want to double-check that "
msg="${msg}everything was fixed properly."
log_warning_msg "$msg"
fi
diff --git a/bootscripts/lfs/init.d/network b/bootscripts/lfs/init.d/network
index 140bc72e8..17afa0983 100644
--- a/bootscripts/lfs/init.d/network
+++ b/bootscripts/lfs/init.d/network
@@ -16,10 +16,10 @@
### BEGIN INIT INFO
# Provides: $network
-# Required-Start: $local_fs $syslog localnet swap
-# Should-Start: firewalld iptables nftables
-# Required-Stop: $local_fs $syslog localnet swap
-# Should-Stop: firewalld iptables nftables
+# Required-Start: $local_fs localnet swap
+# Should-Start: $syslog firewalld iptables nftables
+# Required-Stop: $local_fs localnet swap
+# Should-Stop: $syslog firewalld iptables nftables
# Default-Start: 3 4 5
# Default-Stop: 0 1 2 6
# Short-Description: Starts and configures network interfaces.