From 9022506f35fbf31c1d5940d49be3576ca07f780a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 15 Aug 2014 07:43:14 +0200 Subject: Make /etc/runit/{reboot,stopit} symlinks to /run/runit. The real files are created in stage 1, this way a read-only rootfs can be used to reboot/halt properly the system. --- 1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '1') 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" -- cgit 1.4.1