aboutsummaryrefslogtreecommitdiff
path: root/extra/sinit/files/sinit.post.shutdown
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-13 23:13:19 +0300
committerCem Keylan <cem@ckyln.com>2020-01-13 23:13:19 +0300
commit3e90bcf9811dd3dc5d397fbfe18d0ed84a4fac65 (patch)
treee181ca1b4ed5e5b38c0d17da89b259860798d3c1 /extra/sinit/files/sinit.post.shutdown
parent11b53c25d767fa16671bc0b42158e61c7a2de19f (diff)
downloadrepository-3e90bcf9811dd3dc5d397fbfe18d0ed84a4fac65.tar.gz
repository: move ubase and sinit to core
Diffstat (limited to 'extra/sinit/files/sinit.post.shutdown')
-rw-r--r--extra/sinit/files/sinit.post.shutdown16
1 files changed, 0 insertions, 16 deletions
diff --git a/extra/sinit/files/sinit.post.shutdown b/extra/sinit/files/sinit.post.shutdown
deleted file mode 100644
index 16deba74..00000000
--- a/extra/sinit/files/sinit.post.shutdown
+++ /dev/null
@@ -1,16 +0,0 @@
-# vim:filetype=sh
-
-# We handle the shutdown from here
-
-if [ "$SINIT_SHUTDOWN_HOOKS" = 1 ]; then
- case "$1" in
- reboot)
- out "Requesting system reboot..."
- /usr/bin/ubase-box halt -r
- ;;
- poweroff)
- out "Requesting system poweroff..."
- /usr/bin/ubase-box halt -p
- ;;
- esac
-fi