Skip checkfstab if root is set by UUID.

This commit is contained in:
Arne Fitzenreiter
2010-08-18 21:52:29 +02:00
parent 063191c490
commit 3b50eb81be

View File

@@ -17,6 +17,10 @@
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=`