Use single quotes for maximum compatibility #1

This commit is contained in:
Bob Mottram 2014-02-11 22:19:55 +00:00
parent c43711b866
commit 00ada42522
1 changed files with 2 additions and 2 deletions

View File

@ -441,8 +441,8 @@ Save and exit
chmod +x /tmp/firewall.sh chmod +x /tmp/firewall.sh
. /tmp/firewall.sh . /tmp/firewall.sh
iptables-save > /etc/firewall.conf iptables-save > /etc/firewall.conf
echo "#!/bin/sh" > /etc/network/if-up.d/iptables echo '#!/bin/sh' > /etc/network/if-up.d/iptables
echo "iptables-restore < /etc/firewall.conf" >> /etc/network/if-up.d/iptables echo 'iptables-restore < /etc/firewall.conf' >> /etc/network/if-up.d/iptables
chmod +x /etc/network/if-up.d/iptables chmod +x /etc/network/if-up.d/iptables
rm /tmp/firewall.sh rm /tmp/firewall.sh
#+END_SRC #+END_SRC