summaryrefslogtreecommitdiff
path: root/system/s6-linux-init/runlevel
diff options
context:
space:
mode:
Diffstat (limited to 'system/s6-linux-init/runlevel')
-rw-r--r--system/s6-linux-init/runlevel5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/s6-linux-init/runlevel b/system/s6-linux-init/runlevel
new file mode 100644
index 000000000..f34018ea2
--- /dev/null
+++ b/system/s6-linux-init/runlevel
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+
+test "$#" -gt 0 || { echo 'runlevel: fatal: too few arguments' 1>&2 ; exit 100 ; }
+
+exec /sbin/openrc "$1"