summaryrefslogtreecommitdiffstats
path: root/abs/core/runit/poweroff.script
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/runit/poweroff.script')
-rwxr-xr-xabs/core/runit/poweroff.script11
1 files changed, 0 insertions, 11 deletions
diff --git a/abs/core/runit/poweroff.script b/abs/core/runit/poweroff.script
deleted file mode 100755
index 99779eb..0000000
--- a/abs/core/runit/poweroff.script
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash
-. /etc/profile
-INIT=`ps -p 1 -o comm=`
-chvt 1
-if [ x$INIT = xrunit ]
-then
- /sbin/halt-runit $@
-else
- /sbin/poweroff.init $@
-fi
-