Skip checkfstab if root is set by UUID.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 18 Aug 2010 19:52:29 +0000 (21:52 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 18 Aug 2010 19:52:29 +0000 (21:52 +0200)
src/initscripts/init.d/checkfstab

index c9fa2bc..2fe80bf 100644 (file)
 
 case "${1}" in
        start)
+               #Skip if root is set by UUID
+               if (grep "root=UUID=" /proc/cmdline); then
+                       exit 0;
+               fi
                boot_mesg "Checking fstab bootdevice ..."
                read CMDLINE < /proc/cmdline
                ROOTPOS=`expr index "$CMDLINE" root=`