Use single quotes for maximum compatibility #1
This commit is contained in:
parent
c43711b866
commit
00ada42522
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue