stop.sh: clear rdr

This commit is contained in:
Bike Dude
2020-12-15 10:21:11 +01:00
parent 2e5811b1ee
commit ca8819d7b6

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