[pisa-src] r915 - in trunk: pairing pisacd pisasd tools/tunnel

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Wed, 02 Sep 2009 17:07:48 +0200

Author: biurrun
Date: Wed Sep  2 17:07:47 2009
New Revision: 915

Log:
Run POSIX-compatible shell scripts with /bin/sh, not bash.

Modified:
   trunk/pairing/installer.sh
   trunk/pairing/remake
   trunk/pisacd/check_hipd.sh
   trunk/pisacd/client.sh
   trunk/pisacd/client1.sh
   trunk/pisacd/client2.sh
   trunk/pisacd/setup_ubuntubox1_iptables.sh
   trunk/pisasd/check_hipd.sh
   trunk/tools/tunnel/seteth1address

Modified: trunk/pairing/installer.sh
==============================================================================
--- trunk/pairing/installer.sh  Wed Sep  2 17:02:26 2009        (r914)
+++ trunk/pairing/installer.sh  Wed Sep  2 17:07:47 2009        (r915)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 clear
 

Modified: trunk/pairing/remake
==============================================================================
--- trunk/pairing/remake        Wed Sep  2 17:02:26 2009        (r914)
+++ trunk/pairing/remake        Wed Sep  2 17:07:47 2009        (r915)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 # This is a script to make clean and make. It then takes the output of make 
and searches for warnings and errors.
 

Modified: trunk/pisacd/check_hipd.sh
==============================================================================
--- trunk/pisacd/check_hipd.sh  Wed Sep  2 17:02:26 2009        (r914)
+++ trunk/pisacd/check_hipd.sh  Wed Sep  2 17:07:47 2009        (r915)
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
 HIPD_LOCKFILE="/var/lock/hipd.lock"
 LOGFILE="hipd.log"
 SECS=3

Modified: trunk/pisacd/client.sh
==============================================================================
--- trunk/pisacd/client.sh      Wed Sep  2 17:02:26 2009        (r914)
+++ trunk/pisacd/client.sh      Wed Sep  2 17:07:47 2009        (r915)
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
 TARGET=2001:16:1582:178d:8aa4:be9e:ffea:dca1
 PORT=5001
 . ./check_hipd.sh

Modified: trunk/pisacd/client1.sh
==============================================================================
--- trunk/pisacd/client1.sh     Wed Sep  2 17:02:26 2009        (r914)
+++ trunk/pisacd/client1.sh     Wed Sep  2 17:07:47 2009        (r915)
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
 TARGET=2001:16:1582:178d:8aa4:be9e:ffea:dca1
 PORT=5000
 TUNNELIP=172.16.1.2

Modified: trunk/pisacd/client2.sh
==============================================================================
--- trunk/pisacd/client2.sh     Wed Sep  2 17:02:26 2009        (r914)
+++ trunk/pisacd/client2.sh     Wed Sep  2 17:07:47 2009        (r915)
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
 TARGET=2001:16:1582:178d:8aa4:be9e:ffea:dca1
 PORT=5000
 TUNNELIP=172.16.2.2

Modified: trunk/pisacd/setup_ubuntubox1_iptables.sh
==============================================================================
--- trunk/pisacd/setup_ubuntubox1_iptables.sh   Wed Sep  2 17:02:26 2009        
(r914)
+++ trunk/pisacd/setup_ubuntubox1_iptables.sh   Wed Sep  2 17:07:47 2009        
(r915)
@@ -1,4 +1,4 @@
-#!/usr/bin/env sh
+#!/bin/sh
 # Based on 'Masquerading Made Simple HOWTO' from
 # http://www.tldp.org/HOWTO/Masquerading-Simple-HOWTO/
 

Modified: trunk/pisasd/check_hipd.sh
==============================================================================
--- trunk/pisasd/check_hipd.sh  Wed Sep  2 17:02:26 2009        (r914)
+++ trunk/pisasd/check_hipd.sh  Wed Sep  2 17:07:47 2009        (r915)
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
 HIPD_LOCKFILE="/var/lock/hipd.lock"
 LOGFILE="hipd.log"
 SECS=3

Modified: trunk/tools/tunnel/seteth1address
==============================================================================
--- trunk/tools/tunnel/seteth1address   Wed Sep  2 17:02:26 2009        (r914)
+++ trunk/tools/tunnel/seteth1address   Wed Sep  2 17:07:47 2009        (r915)
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
 
 echo Before del of eth1 $(date +%s.%N)
 ifconfig eth1 del 2001:db8:100:f101::$1/64

Other related posts:

  • » [pisa-src] r915 - in trunk: pairing pisacd pisasd tools/tunnel - Diego Biurrun