# vim:filetype=sh # We handle the shutdown from here if [ "$SINIT_SHUTDOWN_HOOKS" = 1 ]; then case "$1" in reboot) out "Requesting system reboot..." /usr/bin/ubase-box halt -r ;; poweroff) out "Requesting system poweroff..." /usr/bin/ubase-box halt -p ;; esac fi