diff options
author | Will Woods <wwoods@redhat.com> | 2012-10-24 13:06:11 -0400 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2012-12-14 09:04:55 +0100 |
commit | 9d6165f235a3b6401be5f1c52fab02954a58fd8f (patch) | |
tree | af29a90e5fe6c788ad4fec6bb97e498388147a2b /modules.d/95rootfs-block | |
parent | 2258f00e915ea2652b0d8fd1cff9a14998f1897b (diff) | |
download | dracut-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-x | modules.d/95rootfs-block/module-setup.sh | 2 |
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") |