From 2d4e7685cd1a6d8e1eb1befa241b7595809d3b45 Mon Sep 17 00:00:00 2001 From: Dan Nelson Date: Sun, 28 Feb 2010 22:09:18 +0100 Subject: bash->bourne script cleanup Many of the scripts in the openvpn source have their shell set to /bin/bash, but only two use bash features. The attached patch (against openvpn-2.1_rc9) sets the shell on the rest of the scripts to /bin/sh for better portability. The only scripts that actually require bash are contrib/pull-resolv-conf/client.{up,down} ; they use the ${!var} variable indirection feature. sf.net tracker: Discussed on the IRC meeting March 4, 2010 in #openvpn-discussions. Signed-off-by: David Sommerseth Acked-by: James Yonan --- sample-scripts/bridge-stop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sample-scripts/bridge-stop') diff --git a/sample-scripts/bridge-stop b/sample-scripts/bridge-stop index d452893..8192779 100755 --- a/sample-scripts/bridge-stop +++ b/sample-scripts/bridge-stop @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh #################################### # Tear Down Ethernet bridge on Linux -- cgit v1.2.3