trap "echo" INT SEGV QUIT TERM
set +e
-emit pld.shutdown-started
-emit starting JOB=shutdown
-emit started JOB=shutdown
-
rc_splash "reboot"
# Kill all processes.
show "On the next boot fsck will be skipped."; ok
fi
- # not really sure where thse events should go
- emit stopped JOB=shutdown
- emit stopping JOB=shutdown
-
if [ -x /sbin/kexec ] && [ "$kexec_loaded" = "1" ]; then
show "Will now restart with kexec"
/sbin/kexec -e