Don't be completely silent, people think it's not working

This commit is contained in:
Jack L. Frost 2016-04-14 17:56:00 +03:00
parent ea6348fb99
commit 6f063dc4bf

View File

@ -18,8 +18,14 @@ main() {
[ "$init_signal" ] || { [ "$init_signal" ] || {
case "$exe_name" in case "$exe_name" in
poweroff) init_signal='USR1';; poweroff)
reboot) init_signal='INT';; echo 'Shutting down.'
init_signal='USR1';;
reboot)
echo 'Rebooting.'
init_signal='INT';;
*) usage; return 1;; *) usage; return 1;;
esac esac
} }