commit 2582175
chld
·
2026-09-07 14:49:06 +0000 UTC
parent cb70831
reboot: fix basename
1 files changed,
+1,
-1
M
reboot
M
reboot
+1,
-1
1@@ -1,7 +1,7 @@
2 #!/bin/sh
3 # handle end signals, bc userland doesnt understand us...
4
5-case ${0%%*/} in
6+case ${0##*/} in
7 poweroff) kill -TERM 1;;
8 reboot) kill -INT 1;;
9 halt) kill -USR1 1;;