aboutsummaryrefslogtreecommitdiff
path: root/scripts/poweroff.in
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-05-31 13:15:32 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-05-31 18:07:02 -0500
commit1564e155b726308200ecd5df315c002bd8b16952 (patch)
tree8c386843a47974eda9f9645362ae0e04830628cc /scripts/poweroff.in
parent44bac3c3798f7eb9186c3ea8774552aa191bfae7 (diff)
openrc-init: add optional sysvinit compatibility
Diffstat (limited to 'scripts/poweroff.in')
-rw-r--r--scripts/poweroff.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/poweroff.in b/scripts/poweroff.in
new file mode 100644
index 00000000..91736605
--- /dev/null
+++ b/scripts/poweroff.in
@@ -0,0 +1,3 @@
+#!@SHELL@
+
+exec @SBINDIR@/openrc-shutdown --poweroff "$@"