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
@@ -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