]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
ability to skip fsck via nofsck option in lilo command line
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 22 Mar 2001 08:44:27 +0000 (08:44 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 22 Mar 2001 08:44:27 +0000 (08:44 +0000)
svn-id: @872

rc.d/rc.sysinit

index 64bce36c0c2a3815b8a9ae0eaeca0102d5ab99dd..756ddf9024d071987eaa054a9a040d3e33b29da1 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 #
 # /etc/rc.d/rc.sysinit - run once at boot time
-# $Id: rc.sysinit,v 1.69.2.3 2001/03/05 14:39:21 misiek Exp $
+# $Id: rc.sysinit,v 1.69.2.4 2001/03/22 08:44:27 misiek Exp $
 #
 # Taken in part from Miquel van Smoorenburg's bcheckrc.
 # Changes:      Arkadiusz Mi¶kiewicz <misiek@pld.org.pl>
@@ -420,7 +420,7 @@ if [ -s /etc/lvmtab -a -x /sbin/vgscan -a -x /sbin/vgchange ]; then
 fi
 
 # Check filesystems
-if [ ! -f /fastboot ]; then
+if ! grep -q nofsck /proc/cmdline && [ ! -f /fastboot ]; then
        show "Checking filesystems."; started
        initlog -c "fsck -T -R -A -a $fsckoptions"
 
This page took 0.036661 seconds and 4 git commands to generate.