3 echo "Linking /etc/runit/runsvdir/default to /etc/runit/runsvdir/runit-run-default"
4 ln -sf /etc/runit/runsvdir/runit-run-default /etc/runit/runsvdir/default
5 echo "Changing runsvdir to /etc/runit/runsvdir/default"
7 echo "Linking /service to /etc/runit/runsvdir/current"
8 ln -s /etc/runit/runsvdir/current /service
9 echo "Runit-run is installed, restart with
14 if [ ! -L /sbin/init ];then
15 echo "Moving /sbin/init to /sbin/init.sysv"
16 mv /sbin/init /sbin/init.sysv
18 echo "Linking /sbin/init to runit-init"
19 ln -sf runit-init /sbin/init
23 [ -L /sbin/init ] && [ -f /sbin/init.sysv ] && rm /sbin/init && mv /sbin/init.sysv /sbin/init
26 # vim:set ts=2 sw=2 et: