Update limits.sh

This commit is contained in:
tschettervictor
2025-06-03 10:56:11 -06:00
committed by GitHub
parent 4c30134c51
commit 8e12d1c714

View File

@@ -180,15 +180,13 @@ for _jail in ${JAILS}; do
if [ "${OPT_LOG}" -eq 1 ]; then if [ "${OPT_LOG}" -eq 1 ]; then
echo "${_rctl_rule_log}" >> "${bastille_jailsdir}/${_jail}/rctl.conf" echo "${_rctl_rule_log}" >> "${bastille_jailsdir}/${_jail}/rctl.conf"
fi fi
if [ "${OPT_LOG}" -eq 1 ]; then fi
echo -e "[LOGGING]: ${OPTION} ${VALUE}" if [ "${OPT_LOG}" -eq 1 ]; then
else echo -e "[LOGGING]: ${OPTION} ${VALUE}"
echo -e "${OPTION} ${VALUE}" rctl -a "${_rctl_rule} ${_rctl_rule_log"
fi else
echo -e "${OPTION} ${VALUE}"
rctl -a "${_rctl_rule}" rctl -a "${_rctl_rule}"
if [ "${OPT_LOG}" -eq 1 ]; then
rctl -a "${_rctl_rule_log}"
fi
fi fi
fi fi
;; ;;