소스 검색

Consistent carriage returns

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

+ 3
- 3
beaglebone.txt 파일 보기

617
 # Save the settings
617
 # Save the settings
618
 iptables-save > /etc/firewall.conf
618
 iptables-save > /etc/firewall.conf
619
 ip6tables-save > /etc/firewall6.conf
619
 ip6tables-save > /etc/firewall6.conf
620
-echo '#!/bin/sh' > /etc/network/if-up.d/iptables
621
-echo 'iptables-restore < /etc/firewall.conf' >> /etc/network/if-up.d/iptables
622
-echo 'ip6tables-restore < /etc/firewall6.conf' >> /etc/network/if-up.d/iptables
620
+printf '#!/bin/sh\n' > /etc/network/if-up.d/iptables
621
+printf 'iptables-restore < /etc/firewall.conf\n' >> /etc/network/if-up.d/iptables
622
+printf 'ip6tables-restore < /etc/firewall6.conf\n' >> /etc/network/if-up.d/iptables
623
 chmod +x /etc/network/if-up.d/iptables
623
 chmod +x /etc/network/if-up.d/iptables
624
 #+END_SRC
624
 #+END_SRC
625
 
625