How did that happen
This commit is contained in:
6
shutdown
6
shutdown
@@ -28,10 +28,8 @@ main() {
|
|||||||
|
|
||||||
if [ -z "$init_signal" ]; then
|
if [ -z "$init_signal" ]; then
|
||||||
case "$exe_name" in
|
case "$exe_name" in
|
||||||
poweroff) poff;;
|
poweroff) _poweroff;;
|
||||||
reboot)
|
reboot) _reboot;;
|
||||||
echo 'Rebooting.'
|
|
||||||
init_signal='INT';;
|
|
||||||
|
|
||||||
*) usage; return 1;;
|
*) usage; return 1;;
|
||||||
esac
|
esac
|
||||||
|
Reference in New Issue
Block a user