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.
master
Will Woods 2012-10-24 13:06:11 -04:00 committed by Harald Hoyer
parent 2258f00e91
commit 9d6165f235
1 changed files with 1 additions and 1 deletions

View File

@ -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")