projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cee3b89
)
95rootfs-block/mount-root.sh: also parse rootopts for "_netdev"
author
Harald Hoyer
<harald@redhat.com>
Thu, 11 Aug 2011 12:23:27 +0000
(14:23 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Thu, 11 Aug 2011 13:36:29 +0000
(15:36 +0200)
modules.d/95rootfs-block/mount-root.sh
patch
|
blob
|
history
diff --git
a/modules.d/95rootfs-block/mount-root.sh
b/modules.d/95rootfs-block/mount-root.sh
index cc243d7943d5f5dcaf3afd6b68f2d46a4463867f..2c89431f97aa803705ef3cccc1b11450b6d95769 100755
(executable)
--- a/
modules.d/95rootfs-block/mount-root.sh
+++ b/
modules.d/95rootfs-block/mount-root.sh
@@
-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