summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-01-17 15:23:09 +0100
committer Eric Hameleers <alien@slackware.com>2019-01-17 15:23:09 +0100
commit48d5d3d98c7f105aab38edc299df9521fa5b118e (patch)
treebda21a4e771410f219121df61f40ec9002d36a0c /make_slackware_live.sh
parent23b1e956e1132b87e59ddaa2a6a3075c5189b2bc (diff)
downloadliveslak-48d5d3d98c7f105aab38edc299df9521fa5b118e.tar.gz
liveslak-48d5d3d98c7f105aab38edc299df9521fa5b118e.tar.xz
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.
Diffstat (limited to '')
-rwxr-xr-xmake_slackware_live.sh3
1 files changed, 0 insertions, 3 deletions
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