mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-21 17:52:01 +01:00
Update limits.sh
This commit is contained in:
@@ -180,15 +180,13 @@ for _jail in ${JAILS}; do
|
||||
if [ "${OPT_LOG}" -eq 1 ]; then
|
||||
echo "${_rctl_rule_log}" >> "${bastille_jailsdir}/${_jail}/rctl.conf"
|
||||
fi
|
||||
fi
|
||||
if [ "${OPT_LOG}" -eq 1 ]; then
|
||||
echo -e "[LOGGING]: ${OPTION} ${VALUE}"
|
||||
rctl -a "${_rctl_rule} ${_rctl_rule_log"
|
||||
else
|
||||
echo -e "${OPTION} ${VALUE}"
|
||||
fi
|
||||
rctl -a "${_rctl_rule}"
|
||||
if [ "${OPT_LOG}" -eq 1 ]; then
|
||||
rctl -a "${_rctl_rule_log}"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user