projects
/
people
/
pmueller
/
ipfire-2.x.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Skip checkfstab if root is set by UUID.
[people/pmueller/ipfire-2.x.git]
/
src
/
initscripts
/
init.d
/
checkfstab
diff --git
a/src/initscripts/init.d/checkfstab
b/src/initscripts/init.d/checkfstab
index
c9fa2bc
..
2fe80bf
100644
(file)
--- a/
src/initscripts/init.d/checkfstab
+++ b/
src/initscripts/init.d/checkfstab
@@
-17,6
+17,10
@@
case "${1}" in
start)
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=`
boot_mesg "Checking fstab bootdevice ..."
read CMDLINE < /proc/cmdline
ROOTPOS=`expr index "$CMDLINE" root=`