From e8cf498dccab29fb412e8efd45986201ba38ec91 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 15 Sep 2009 08:57:24 +0200 Subject: [PATCH] 95rootfs-block/mount-root.sh: ignore /.resume --- modules.d/95rootfs-block/mount-root.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules.d/95rootfs-block/mount-root.sh b/modules.d/95rootfs-block/mount-root.sh index a691ae33..10b93117 100755 --- a/modules.d/95rootfs-block/mount-root.sh +++ b/modules.d/95rootfs-block/mount-root.sh @@ -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