1 2 3 4 5 6 7 8 9
#!/bin/sh -e rl="$1" shift s6-rc-init -c /etc/s6/db/current /run/service exec /etc/s6/base/scripts/runlevel "$rl"