commit 8bc3b08bd4982a2b7070abfa9ce3f7902b0554c5 parent 0035a09cd0aa0854bd07f8a9f9493e89a30cee19 Author: sin <sin@2f30.org> Date: Tue, 18 Feb 2014 11:47:27 +0000 Signal init for reboot/poweroff Diffstat:
M | bin/poweroff | | | 2 | +- |
M | bin/reboot | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/poweroff b/bin/poweroff @@ -1,3 +1,3 @@ #!/bin/sh -/bin/rc.shutdown poweroff +kill -SIGUSR1 1 diff --git a/bin/reboot b/bin/reboot @@ -1,3 +1,3 @@ #!/bin/sh -/bin/rc.shutdown reboot +kill -SIGINT 1