Consistent carriage returns

This commit is contained in:
Bob Mottram 2014-03-08 10:23:18 +00:00
parent 417bf366ab
commit cd6a012707
1 changed files with 3 additions and 3 deletions

View File

@ -617,9 +617,9 @@ iptables -A INPUT -p icmp -j DROP
# Save the settings # Save the settings
iptables-save > /etc/firewall.conf iptables-save > /etc/firewall.conf
ip6tables-save > /etc/firewall6.conf ip6tables-save > /etc/firewall6.conf
echo '#!/bin/sh' > /etc/network/if-up.d/iptables printf '#!/bin/sh\n' > /etc/network/if-up.d/iptables
echo 'iptables-restore < /etc/firewall.conf' >> /etc/network/if-up.d/iptables printf 'iptables-restore < /etc/firewall.conf\n' >> /etc/network/if-up.d/iptables
echo 'ip6tables-restore < /etc/firewall6.conf' >> /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 chmod +x /etc/network/if-up.d/iptables
#+END_SRC #+END_SRC