Check for /bootpool and import the bootpool zfs pool if present. Fixes #8063

This commit is contained in:
jim-p 2017-11-07 10:38:06 -05:00
parent 373513a561
commit 635dcc697a

View File

@ -136,6 +136,11 @@ if /sbin/kldstat -qm zfs; then
/sbin/zfs set readonly=off $ZFSROOT
fi
/sbin/zfs mount -a
# If /bootpool is present, then there is an additional zfs pool to import
# See https://redmine.pfsense.org/issues/8063
if [ -d /bootpool ]; then
/sbin/zpool import -f bootpool
fi
fi
fi