]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
98usrmount/mount-usr.sh: check, if we have $NEWROOT/etc/fstab
authorHarald Hoyer <harald@redhat.com>
Tue, 28 Feb 2012 15:35:08 +0000 (16:35 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 28 Feb 2012 15:35:08 +0000 (16:35 +0100)
modules.d/98usrmount/mount-usr.sh

index f9d049e379219c35a4b15fdac0d262db2e75fc6b..39f75b9486cb3b5317df0392b9b555293fd573a7 100755 (executable)
@@ -73,4 +73,6 @@ mount_usr()
     fi
 }
 
-mount_usr
+if [ -f "$NEWROOT/etc/fstab" ]; then
+    mount_usr
+fi