diff --git a/src/sbin/opnsense-importer b/src/sbin/opnsense-importer index 333f8cc34..46addc0f0 100755 --- a/src/sbin/opnsense-importer +++ b/src/sbin/opnsense-importer @@ -205,8 +205,8 @@ elif [ -n "${POOL}" ]; then echo "Starting import for ZFS pool '${POOL}'." echo - if ! zpool import -f -R /tmp/hdrescue ${POOL} && \ - zfs mount ${POOL}/ROOT/default; then + zpool import -f -R ${MNT} ${POOL} + if ! zfs mount ${POOL}/ROOT/default; then echo "The device could not be mounted." fi fi