diff options
-rwxr-xr-x | etc/rc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ echo "Mounting filesystems..." # Handle ZFS read-only case if [ "$PLATFORM" = "pfSense" ]; then if [ -f /usr/bin/grep ]; then - ZFSROOT=`/sbin/mount | /usr/bin/grep " / " | /usr/bin/awk -F ' on ' '{print $1}'` + ZFSROOT=`/sbin/zfs mount | /usr/bin/grep ' /$' | /usr/bin/cut -d ' ' -f 1` if [ "$ZFSROOT" != "" ]; then echo /sbin/zfs set readonly=off $ZFSROOT fi |