summaryrefslogtreecommitdiff
path: root/system/s6-linux-init/runlevel
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-06-28 21:08:15 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-06-28 21:08:15 +0000
commit44424456f97d9fb1f8a4dc688a8e065e46c836d9 (patch)
treeab42d893b8d272f1b6be61c3dfd5b567d14c57c6 /system/s6-linux-init/runlevel
parent715edc6d997b0b7cd03029ca32a67cbb79727121 (diff)
parent0b82d071e1d6c87e54e38b8ff5ecd3fb1c5a0c6e (diff)
downloadpackages-44424456f97d9fb1f8a4dc688a8e065e46c836d9.tar.gz
packages-44424456f97d9fb1f8a4dc688a8e065e46c836d9.tar.bz2
packages-44424456f97d9fb1f8a4dc688a8e065e46c836d9.tar.xz
packages-44424456f97d9fb1f8a4dc688a8e065e46c836d9.zip
Merge branch 'skaware.20190515' into 'master'
skaware 2019-05-15 See merge request !234
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"