bootscripts: change "halt stop" to "halt start"

This commit is contained in:
Poltern 2023-10-04 23:19:37 +05:00
parent e51ffa038c
commit 468efb4921
3 changed files with 9 additions and 4 deletions

View File

@ -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.

View File

@ -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

View File

@ -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,