1 description "Shutdown or reboot the system"
4 start on shutdown or reboot
9 # Emit event to kill all network services
10 initctl emit kill-all-network-services
12 # Shutdown the network
13 initctl emit shutdown-network
15 # Emit event to kill all system services
16 initctl emit kill-all-services
18 # Exterminate any lil' process that managed to evade my merciless
24 mount -n -o remount,ro / || true
26 # The UPSTART_EVENTS variable contains the event that has been called.
27 # The script use it to perform the requested action.
28 if [ "${UPSTART_EVENTS}" = "reboot" ]; then