Merge pull request #298 from hackacad/stop_rdr

stop.sh: clear rdr
This commit is contained in:
Christer Edwards
2020-12-23 09:55:32 -07:00
committed by GitHub

View File

@@ -55,6 +55,10 @@ for _jail in ${JAILS}; do
pfctl -q -t jails -T delete "$(jls -j ${_jail} ip4.addr)"
fi
fi
if [ "$(bastille rdr ${_jail} list)" ]; then
bastille rdr ${_jail} clear
fi
## remove rctl limits
if [ -s "${bastille_jailsdir}/${_jail}/rctl.conf" ]; then