diff --git a/shutdown b/shutdown index a850e3d..0984d3b 100755 --- a/shutdown +++ b/shutdown @@ -28,10 +28,8 @@ main() { if [ -z "$init_signal" ]; then case "$exe_name" in - poweroff) poff;; - reboot) - echo 'Rebooting.' - init_signal='INT';; + poweroff) _poweroff;; + reboot) _reboot;; *) usage; return 1;; esac