Removing line, not doing what it should #572

This commit is contained in:
Kristian Haugene
2018-08-10 11:32:26 +02:00
parent 0d916f9bba
commit c6f9ffab36

View File

@@ -104,7 +104,6 @@ if [[ "${ENABLE_UFW,,}" == "true" ]]; then
if [[ "${UFW_DISABLE_IPTABLES_REJECT,,}" == "true" ]]; then
# A horrible hack to ufw to prevent it detecting the ability to limit and REJECT traffic
sed -i 's/return caps/return []/g' /usr/lib/python3/dist-packages/ufw/util.py
sed -i -e s/MANAGE_BUILTINS=no/MANAGE_BUILTINS=yes/ /etc/default/ufw
# force a rewrite on the enable below
echo "Disable and blank firewall"
ufw disable