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

master
Harald Hoyer 2009-09-15 08:57:24 +02:00
parent 2178a00eea
commit e8cf498dcc
1 changed files with 2 additions and 1 deletions

View File

@ -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