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