summaryrefslogtreecommitdiff
path: root/xi/s6/skel/runlevel
blob: f9db6e4cac0b3e8d8972b618b58d7b115fbfab4b (plain)
1
2
3
4
5
#!/bin/sh -e

test "$#" -gt 0 || { echo 'runlevel: fatal: too few arguments' 1>&2 ; exit 100 ; }

exec s6-rc -up change "$1"