Lines Matching refs:shutdown
3 # $NetBSD: rc.shutdown,v 1.10 2024/12/07 18:45:20 martin Exp $
5 # rc.shutdown --
8 # System shutdown script run by shutdown(8) at system shutdown time.
18 echo "Skipping shutdown hooks."
31 trap "echo 'Shutdown interrupted.'; exit 1" QUIT
34 # will terminate rc.shutdown if rc.shutdown doesn't complete
40 _msg="$rcshutdown_timeout second watchdog timeout expired. Shutdown terminated."
41 logger -t rc.shutdown "$_msg"
50 # Determine the shutdown order of the rc.d scripts,
55 files=$(rcorder -k shutdown ${rcshutdown_rcorder_flags} ${scripts})
64 if [ -r /etc/rc.shutdown.final ]; then
66 . /etc/rc.shutdown.final