mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 19:55:52 +02:00
Skip checkfstab if root is set by UUID.
This commit is contained in:
@@ -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=`
|
||||
|
||||
Reference in New Issue
Block a user