Browse Source

95rootfs-block/mount-root.sh: ignore /.resume

master
Harald Hoyer 16 years ago
parent
commit
e8cf498dcc
  1. 3
      modules.d/95rootfs-block/mount-root.sh

3
modules.d/95rootfs-block/mount-root.sh

@ -1,4 +1,5 @@ @@ -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

Loading…
Cancel
Save