Browse Source

Use single quotes for maximum compatibility #1

Bob Mottram 11 years ago
parent
commit
00ada42522
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      beaglebone.txt

+ 2
- 2
beaglebone.txt View File

@@ -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