]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
95rootfs-block/mount-root.sh: ignore /.resume
authorHarald Hoyer <harald@redhat.com>
Tue, 15 Sep 2009 06:57:24 +0000 (08:57 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 15 Sep 2009 09:17:28 +0000 (11:17 +0200)
modules.d/95rootfs-block/mount-root.sh

index a691ae33e4b5e77393f6191f07e1d7722ed7959a..10b93117e724549e72d825adfee0ff85fb3af3ba 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/sh
-if [ ! -s /.resume -a -n "$root" -a -z "${root%%block:*}" ]; then
+
+if [ -n "$root" -a -z "${root%%block:*}" ]; then
     mount -t ${fstype:-auto} -o "$rflags" "${root#block:}" "$NEWROOT" && ROOTFS_MOUNTED=yes
 fi