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

@@ -56,6 +56,10 @@ for _jail in ${JAILS}; do
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
while read _limits; do while read _limits; do