#!/bin/sh -e

rl="$1"
shift

/sbin/openrc sysinit
/sbin/openrc boot

exec /etc/s6-linux-init/current/scripts/runlevel "$rl"