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 --- easy-rsa/2.0/inherit-inter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'easy-rsa/2.0/inherit-inter') diff --git a/easy-rsa/2.0/inherit-inter b/easy-rsa/2.0/inherit-inter index 2101951..aaa5168 100755 --- a/easy-rsa/2.0/inherit-inter +++ b/easy-rsa/2.0/inherit-inter @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # Build a new PKI which is rooted on an intermediate certificate generated # by ./build-inter or ./pkitool --inter from a parent PKI. The new PKI should -- cgit v1.2.3