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
This commit is contained in:
DJ Lucas 2020-08-17 06:24:10 +00:00
parent 6a06eaf844
commit f92b8de7c4
2 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@
### BEGIN INIT INFO ### BEGIN INIT INFO
# Provides: checkfs # Provides: checkfs
# Required-Start: udev # Required-Start: udev swap
# Should-Start: # Should-Start:
# Required-Stop: # Required-Stop:
# Should-Stop: # Should-Stop:
@ -94,7 +94,7 @@ case "${1}" in
if [ "${error_value}" = 1 ]; then if [ "${error_value}" = 1 ]; then
msg="\nWARNING:\n\nFile system errors " msg="\nWARNING:\n\nFile system errors "
msg="${msg}were found and have been corrected.\n" 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." msg="${msg}everything was fixed properly."
log_warning_msg "$msg" log_warning_msg "$msg"
fi fi

View File

@ -16,10 +16,10 @@
### BEGIN INIT INFO ### BEGIN INIT INFO
# Provides: $network # Provides: $network
# Required-Start: $local_fs $syslog localnet swap # Required-Start: $local_fs localnet swap
# Should-Start: firewalld iptables nftables # Should-Start: $syslog firewalld iptables nftables
# Required-Stop: $local_fs $syslog localnet swap # Required-Stop: $local_fs localnet swap
# Should-Stop: firewalld iptables nftables # Should-Stop: $syslog firewalld iptables nftables
# Default-Start: 3 4 5 # Default-Start: 3 4 5
# Default-Stop: 0 1 2 6 # Default-Stop: 0 1 2 6
# Short-Description: Starts and configures network interfaces. # Short-Description: Starts and configures network interfaces.