Skip checkfstab if root is set by UUID.
[people/pmueller/ipfire-2.x.git] / 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=`