From: Harald Hoyer Date: Tue, 28 Feb 2012 15:35:08 +0000 (+0100) Subject: 98usrmount/mount-usr.sh: check, if we have $NEWROOT/etc/fstab X-Git-Tag: 018~84 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9eded206c90c0ce65b1addc55e4a8d83fb66ad3b;p=thirdparty%2Fdracut.git 98usrmount/mount-usr.sh: check, if we have $NEWROOT/etc/fstab --- diff --git a/modules.d/98usrmount/mount-usr.sh b/modules.d/98usrmount/mount-usr.sh index f9d049e37..39f75b948 100755 --- a/modules.d/98usrmount/mount-usr.sh +++ b/modules.d/98usrmount/mount-usr.sh @@ -73,4 +73,6 @@ mount_usr() fi } -mount_usr +if [ -f "$NEWROOT/etc/fstab" ]; then + mount_usr +fi