aboutsummaryrefslogtreecommitdiff
path: root/core/sinit/files/sinit.post.shutdown
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-15 22:36:35 +0300
committerCem Keylan <cem@ckyln.com>2020-01-15 22:36:35 +0300
commit051404c997c633388071203be5c24f28dfb9f14c (patch)
tree2b8e2a1cd5aeb0e94a784f34830c2e8f1540de1d /core/sinit/files/sinit.post.shutdown
parent21fc7560eeaeb7ff0d25ef210570faf47c09357f (diff)
downloadrepository-051404c997c633388071203be5c24f28dfb9f14c.tar.gz
sinit: removed ubase dependency, build respawn and halt onto sinit
Diffstat (limited to 'core/sinit/files/sinit.post.shutdown')
-rw-r--r--core/sinit/files/sinit.post.shutdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/sinit/files/sinit.post.shutdown b/core/sinit/files/sinit.post.shutdown
index ade9958f..4f3c793b 100644
--- a/core/sinit/files/sinit.post.shutdown
+++ b/core/sinit/files/sinit.post.shutdown
@@ -6,11 +6,11 @@ if [ "$SINIT_SHUTDOWN_HOOKS" = 1 ]; then
case "$1" in
reboot)
out "Requesting system reboot..."
- /usr/bin/ubase-box halt -r
+ halt -r
;;
*)
out "Requesting system poweroff..."
- /usr/bin/ubase-box halt -p
+ halt -p
;;
esac
fi