From 6f063dc4bf19bb3082900c778c1bc73ddf0b149d Mon Sep 17 00:00:00 2001 From: fbt Date: Thu, 14 Apr 2016 17:56:00 +0300 Subject: [PATCH] Don't be completely silent, people think it's not working --- shutdown | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/shutdown b/shutdown index 6d52caf..ab72979 100755 --- a/shutdown +++ b/shutdown @@ -18,8 +18,14 @@ main() { [ "$init_signal" ] || { case "$exe_name" in - poweroff) init_signal='USR1';; - reboot) init_signal='INT';; + poweroff) + echo 'Shutting down.' + init_signal='USR1';; + + reboot) + echo 'Rebooting.' + init_signal='INT';; + *) usage; return 1;; esac }