
1 changed files with 2 additions and 2 deletions
@ -1,4 +1,4 @@ |
|||||||
#!/bin/sh |
#!/bin/sh |
||||||
if [ ! -s /.resume -a "$root" ]; then |
if [ ! -s /.resume -a -n "$root" -a -z "${root%%block:*}" ]; then |
||||||
mount ${fstype:--t auto} -o "$rflags" "$root" "$NEWROOT" && ROOTFS_MOUNTED=yes |
mount ${fstype:--t auto} -o "$rflags" "${root#block:}" "$NEWROOT" && ROOTFS_MOUNTED=yes |
||||||
fi |
fi |
||||||
|
Loading…
Reference in new issue