Browse Source

fixed fstype mount options

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

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

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

Loading…
Cancel
Save