mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-03 11:18:26 +01:00
stop.sh: clear rdr
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user