Browse Source

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

master
Harald Hoyer 14 years ago
parent
commit
459bfe02f9
  1. 2
      modules.d/95rootfs-block/mount-root.sh

2
modules.d/95rootfs-block/mount-root.sh

@ -104,7 +104,7 @@ mount_root() { @@ -104,7 +104,7 @@ mount_root() {
# esc_root=$(echo ${root#block:} | sed 's,\\,\\\\,g')
# 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"
_ret=$?
[ $_ret -ne 255 ] && echo $_ret >/run/initramfs/root-fsck

Loading…
Cancel
Save