mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-20 17:20:12 +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
|
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
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user