95rootfs-block/mount-root.sh: also parse rootopts for "_netdev"

master
Harald Hoyer 2011-08-11 14:23:27 +02:00
parent cee3b8966c
commit 459bfe02f9
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ mount_root() {
# esc_root=$(echo ${root#block:} | sed 's,\\,\\\\,g') # esc_root=$(echo ${root#block:} | sed 's,\\,\\\\,g')
# printf '%s %s %s %s 1 1 \n' "$esc_root" "$NEWROOT" "$rootfs" "$rflags" >/etc/fstab # printf '%s %s %s %s 1 1 \n' "$esc_root" "$NEWROOT" "$rootfs" "$rflags" >/etc/fstab


if [ -z "$fastboot" -a "$READONLY" != "yes" ] && ! strstr "${rflags}" _netdev; then if [ -z "$fastboot" -a "$READONLY" != "yes" ] && ! strstr "${rflags},${rootopts}" _netdev; then
fsck_single "${root#block:}" "$rootfs" "$fsckoptions" fsck_single "${root#block:}" "$rootfs" "$fsckoptions"
_ret=$? _ret=$?
[ $_ret -ne 255 ] && echo $_ret >/run/initramfs/root-fsck [ $_ret -ne 255 ] && echo $_ret >/run/initramfs/root-fsck