summaryrefslogtreecommitdiff
path: root/modules.d/95rootfs-block
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2012-10-24 13:06:11 -0400
committerHarald Hoyer <harald@redhat.com>2012-12-14 09:04:55 +0100
commit9d6165f235a3b6401be5f1c52fab02954a58fd8f (patch)
treeaf29a90e5fe6c788ad4fec6bb97e498388147a2b /modules.d/95rootfs-block
parent2258f00e915ea2652b0d8fd1cff9a14998f1897b (diff)
downloaddracut-9d6165f235a3b6401be5f1c52fab02954a58fd8f.tar.gz
dracut-9d6165f235a3b6401be5f1c52fab02954a58fd8f.tar.bz2
dracut-9d6165f235a3b6401be5f1c52fab02954a58fd8f.zip
drop NEWROOT from module-setup.sh
This was almost certainly copy-pasted from mount-root.sh, but it's not valid here - dracut doesn't use NEWROOT outside of the initramfs.
Diffstat (limited to 'modules.d/95rootfs-block')
-rwxr-xr-xmodules.d/95rootfs-block/module-setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/95rootfs-block/module-setup.sh b/modules.d/95rootfs-block/module-setup.sh
index 82542899..732aefb7 100755
--- a/modules.d/95rootfs-block/module-setup.sh
+++ b/modules.d/95rootfs-block/module-setup.sh
@@ -15,7 +15,7 @@ check() {
rootopts=$opts
break
fi
- done < "$NEWROOT/etc/fstab"
+ done < /etc/fstab
[ "$rootfs" = "reiserfs" ] && journaldev=$(fs_get_option $rootopts "jdev")
[ "$rootfs" = "xfs" ] && journaldev=$(fs_get_option $rootopts "logdev")