diff --git a/usr/local/share/bastille/start.sh b/usr/local/share/bastille/start.sh index bb9dcc98..3a68a09f 100644 --- a/usr/local/share/bastille/start.sh +++ b/usr/local/share/bastille/start.sh @@ -184,16 +184,6 @@ for _jail in ${JAILS}; do # Start jail jail ${OPTION} -f "${bastille_jailsdir}/${_jail}/jail.conf" -c "${_jail}" - # Add ZFS jailed datasets - if [ -s "${bastille_jailsdir}/${_jail}/zfs.conf" ]; then - while read _dataset _mount; do - zfs set jailed=on "${_dataset}" - zfs jail ${_jail} "${_dataset}" - jexec -l -U root "${_jail}" zfs set mountpoint="${_mount}" "${_dataset}" - jexec -l -U root "${_jail}" zfs mount "${_dataset}" 2>/dev/null - done < "${bastille_jailsdir}/${_jail}/zfs.conf" - fi - # Add rctl limits if [ -s "${bastille_jailsdir}/${_jail}/rctl.conf" ]; then while read _limits; do @@ -218,4 +208,4 @@ for _jail in ${JAILS}; do # Delay between jail action sleep "${DELAY_TIME}" -done \ No newline at end of file +done