Merge pull request #298 from hackacad/stop_rdr

stop.sh: clear rdr
This commit is contained in:
Christer Edwards authored and GitHub committed 2020-12-23 09:55:32 -07:00
commit d9ee2e190d
1 file changed
+4
+4
View File
@@ -55,6 +55,10 @@ for _jail in ${JAILS}; do
pfctl -q -t jails -T delete "$(jls -j ${_jail} ip4.addr)" pfctl -q -t jails -T delete "$(jls -j ${_jail} ip4.addr)"
fi fi
fi fi
if [ "$(bastille rdr ${_jail} list)" ]; then
bastille rdr ${_jail} clear
fi
## remove rctl limits ## remove rctl limits
if [ -s "${bastille_jailsdir}/${_jail}/rctl.conf" ]; then if [ -s "${bastille_jailsdir}/${_jail}/rctl.conf" ]; then