Browse Source

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
DJ Lucas 4 years ago
parent
commit
f92b8de7c4
2 changed files with 6 additions and 6 deletions
  1. 2 2
      bootscripts/lfs/init.d/checkfs
  2. 4 4
      bootscripts/lfs/init.d/network

+ 2 - 2
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

+ 4 - 4
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.