diff options
-rwxr-xr-x | 1 | 5 | ||||
-rw-r--r-- | Makefile | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/1 b/1 index f7e4ee1..1c87c06 100755 --- a/1 +++ b/1 @@ -17,7 +17,8 @@ done dmesg >/var/log/dmesg.log -install -m100 /dev/null /etc/runit/reboot -install -m100 /dev/null /etc/runit/stopit +mkdir -p /run/runit +install -m100 /dev/null /run/runit/reboot +install -m100 /dev/null /run/runit/stopit msg "Initialization complete, running stage 2...\n" diff --git a/Makefile b/Makefile index 71d5f81..c92061a 100644 --- a/Makefile +++ b/Makefile @@ -33,6 +33,8 @@ install: install -m755 rc.local ${DESTDIR}/etc install -d ${DESTDIR}/${PREFIX}/lib/dracut/dracut.conf.d install -m644 dracut/*.conf ${DESTDIR}/${PREFIX}/lib/dracut/dracut.conf.d + ln -sf /run/runit/reboot ${DESTDIR}/etc/runit/ + ln -sf /run/runit/stopit ${DESTDIR}/etc/runit/ cp -aP runsvdir/* ${DESTDIR}/etc/runit/runsvdir/ cp -aP services/* ${DESTDIR}/etc/sv/ |