[pisa-src] r825 - trunk/trust-point/pisasd

Author: biurrun
Date: Wed Aug 19 13:36:15 2009
New Revision: 825

Log:
Add missing shebang lines to shell scripts.

Modified:
   trunk/trust-point/pisasd/setupLoggingForPisaTunnel0.sh
   trunk/trust-point/pisasd/setupNatForPisaTunnel0.sh
   trunk/trust-point/pisasd/teardownNatForPisaTunnel0.sh

Modified: trunk/trust-point/pisasd/setupLoggingForPisaTunnel0.sh
==============================================================================
--- trunk/trust-point/pisasd/setupLoggingForPisaTunnel0.sh      Wed Aug 19 
11:54:30 2009        (r824)
+++ trunk/trust-point/pisasd/setupLoggingForPisaTunnel0.sh      Wed Aug 19 
13:36:15 2009        (r825)
@@ -1 +1,3 @@
-/sbin/iptables -t nat -I POSTROUTING 1 -o eth0 -j LOG --log-prefix "PISALOG: "
\ No newline at end of file
+#!/bin/sh
+
+/sbin/iptables -t nat -I POSTROUTING 1 -o eth0 -j LOG --log-prefix "PISALOG: "

Modified: trunk/trust-point/pisasd/setupNatForPisaTunnel0.sh
==============================================================================
--- trunk/trust-point/pisasd/setupNatForPisaTunnel0.sh  Wed Aug 19 11:54:30 
2009        (r824)
+++ trunk/trust-point/pisasd/setupNatForPisaTunnel0.sh  Wed Aug 19 13:36:15 
2009        (r825)
@@ -1,4 +1,6 @@
+#!/bin/sh
+
 echo 1 > /proc/sys/net/ipv4/ip_forward
 /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
 /sbin/iptables -A FORWARD -i eth0 -o pisaTunnel0 -m state --state 
RELATED,ESTABLISHED -j ACCEPT
-/sbin/iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
\ No newline at end of file
+/sbin/iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT

Modified: trunk/trust-point/pisasd/teardownNatForPisaTunnel0.sh
==============================================================================
--- trunk/trust-point/pisasd/teardownNatForPisaTunnel0.sh       Wed Aug 19 
11:54:30 2009        (r824)
+++ trunk/trust-point/pisasd/teardownNatForPisaTunnel0.sh       Wed Aug 19 
13:36:15 2009        (r825)
@@ -1,3 +1,5 @@
+#!/bin/sh
+
 echo 0 > /proc/sys/net/ipv4/ip_forward
 /sbin/iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
 /sbin/iptables -D FORWARD -i eth0 -o pisaTunnel0 -m state --state 
RELATED,ESTABLISHED -j ACCEPT

Other related posts:

  • » [pisa-src] r825 - trunk/trust-point/pisasd - Diego Biurrun