Skip to content
Snippets Groups Projects
Commit 5f41af2f authored by Bob Mottram's avatar Bob Mottram
Browse files

chmod if possible

parent 5481c1fb
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,9 @@ function save_firewall_settings {
printf '#!/bin/sh\n' > /etc/network/if-up.d/iptables
printf 'iptables-restore < /etc/firewall.conf\n' >> /etc/network/if-up.d/iptables
printf 'ip6tables-restore < /etc/firewall6.conf\n' >> /etc/network/if-up.d/iptables
chmod +x /etc/network/if-up.d/iptables
if [ -f /etc/network/if-up.d/iptables ]; then
chmod +x /etc/network/if-up.d/iptables
fi
}
function global_rate_limit {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment