]> git.ipfire.org Git - thirdparty/openvpn.git/commit
bash->bourne script cleanup
authorDan Nelson <dnelson@users.sourceforge.net>
Sun, 28 Feb 2010 21:09:18 +0000 (22:09 +0100)
committerDavid Sommerseth <dazo@users.sourceforge.net>
Thu, 21 Oct 2010 09:33:42 +0000 (11:33 +0200)
commit2d4e7685cd1a6d8e1eb1befa241b7595809d3b45
tree19cb270ca64fd46d48985ef487a4c442c9ba10dd
parent798497ae52d782248cc89fb8bf0e4fcdba98a0d3
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:
<https://sourceforge.net/tracker/?func=detail&aid=2040296&group_id=48978&atid=454721>

Discussed on the IRC meeting March 4, 2010 in #openvpn-discussions.
<http://thread.gmane.org/gmane.network.openvpn.devel/3242>

Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: James Yonan <james@openvpn.net>
17 files changed:
easy-rsa/2.0/build-ca
easy-rsa/2.0/build-dh
easy-rsa/2.0/build-inter
easy-rsa/2.0/build-key
easy-rsa/2.0/build-key-pass
easy-rsa/2.0/build-key-pkcs12
easy-rsa/2.0/build-key-server
easy-rsa/2.0/build-req
easy-rsa/2.0/build-req-pass
easy-rsa/2.0/clean-all
easy-rsa/2.0/inherit-inter
easy-rsa/2.0/list-crl
easy-rsa/2.0/revoke-full
easy-rsa/2.0/sign-req
sample-config-files/firewall.sh
sample-scripts/bridge-start
sample-scripts/bridge-stop