소스 검색

Use single quotes for maximum compatibility #1

Bob Mottram 11 년 전
부모
커밋
00ada42522
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      beaglebone.txt

+ 2
- 2
beaglebone.txt 파일 보기

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