aboutsummaryrefslogtreecommitdiff
path: root/core/sinit/files/sinit.post.shutdown
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-15 11:31:06 +0300
committerCem Keylan <cem@ckyln.com>2020-01-15 11:31:06 +0300
commitedc945a68cb7e2d74b6cdfa0de33bc382be70c2b (patch)
tree29e2b9d39d016edbd848a2db38e6caa3040e3224 /core/sinit/files/sinit.post.shutdown
parent3e90bcf9811dd3dc5d397fbfe18d0ed84a4fac65 (diff)
downloadrepository-edc945a68cb7e2d74b6cdfa0de33bc382be70c2b.tar.gz
sinit: remove pre shutdown hook
Diffstat (limited to 'core/sinit/files/sinit.post.shutdown')
-rw-r--r--core/sinit/files/sinit.post.shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sinit/files/sinit.post.shutdown b/core/sinit/files/sinit.post.shutdown
index 16deba74..ade9958f 100644
--- a/core/sinit/files/sinit.post.shutdown
+++ b/core/sinit/files/sinit.post.shutdown
@@ -8,7 +8,7 @@ if [ "$SINIT_SHUTDOWN_HOOKS" = 1 ]; then
out "Requesting system reboot..."
/usr/bin/ubase-box halt -r
;;
- poweroff)
+ *)
out "Requesting system poweroff..."
/usr/bin/ubase-box halt -p
;;