From 48d5d3d98c7f105aab38edc299df9521fa5b118e Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Thu, 17 Jan 2019 15:23:09 +0100 Subject: Follow the Slackware init with respect to readonly root on boot The live init script creates a /etc/fastboot file to prevent any file system check on boot. This is cleaner than hacking rc.S and failing. --- make_slackware_live.sh | 3 --- 1 file changed, 3 deletions(-) (limited to 'make_slackware_live.sh') diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 85c1dab..502bd80 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -2159,9 +2159,6 @@ fi # Skip all filesystem checks at boot: touch ${LIVE_ROOTDIR}/etc/fastboot -# Disable the root filesystem check altogether: -sed -i -e '/^if \[ ! \$READWRITE = yes/,/^fi # Done checking root filesystem/s/^/#/' ${LIVE_ROOTDIR}/etc/rc.d/rc.S - # We will not write to the hardware clock: sed -i -e '/systohc/s/^/# /' ${LIVE_ROOTDIR}/etc/rc.d/rc.6 -- cgit v1.2.3