mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
bootscripts: change "halt stop" to "halt start"
Commit 27d23b1d
has changed the convention that scripts with Sxxx
symlinks should be run with "stop" parameter in runlevels 0 and 6.
They should now be called with the more intuitive "start" parameter.
But a few scripts still call "/etc/init.d/halt stop". Fortunately, this
occurs in code paths that are rarely run (unrecoverable errors). So it
was not noticed until now. Anyway, this is fixed in this commit.
This commit is contained in:
parent
363fece428
commit
623081aa93
@ -1,3 +1,8 @@
|
||||
2023-10-04 Pierre Labastie <pierre.labastie@neuf.fr>
|
||||
* After the changes done on 2022-03-24, several "halt stop" should
|
||||
have been changed to "halt start". Done now. Fortunately, those
|
||||
occur only when something wrong happens with disks or devices.
|
||||
|
||||
2023-07-28 Xi Ruoyao <xry111@xry111.site>
|
||||
* In mountvirtfs, mount /sys/fs/cgroup for udev from systemd-254.
|
||||
|
||||
@ -24,7 +29,7 @@
|
||||
* New semantics for K and S scripts:
|
||||
- S scripts only started if not already marked S in the previous runlevel
|
||||
- K scripts only started if not already marked K in the previous runlevel
|
||||
- remove the convention of running S scripts ith "stop" in rl 0/6
|
||||
- remove the convention of running S scripts with "stop" in rl 0/6
|
||||
2021-06-08 Bruce Dubbs <bdubbs@linuxfromscratch.org>
|
||||
* When shutting down the network, ignore invalid interfaces
|
||||
or interfaces that are not UP.
|
||||
|
@ -63,7 +63,7 @@ case "${1}" in
|
||||
|
||||
log_info_msg "Press Enter to continue..."
|
||||
wait_for_user
|
||||
/etc/rc.d/init.d/halt stop
|
||||
/etc/rc.d/init.d/halt start
|
||||
else
|
||||
log_success_msg2
|
||||
fi
|
||||
@ -127,7 +127,7 @@ case "${1}" in
|
||||
|
||||
log_info_msg "Press Enter to continue..."
|
||||
wait_for_user
|
||||
/etc/rc.d/init.d/halt stop
|
||||
/etc/rc.d/init.d/halt start
|
||||
fi
|
||||
|
||||
if [ "${error_value}" -ge 16 ]; then
|
||||
|
@ -41,7 +41,7 @@ case "${1}" in
|
||||
log_info_msg "$msg"
|
||||
log_info_msg "Press Enter to continue..."
|
||||
wait_for_user
|
||||
/etc/rc.d/init.d/halt stop
|
||||
/etc/rc.d/init.d/halt start
|
||||
fi
|
||||
|
||||
# Start the udev daemon to continually watch for, and act on,
|
||||
|
Loading…
Reference in New Issue
Block a user