aboutsummaryrefslogtreecommitdiff
path: root/sample-config-files/firewall.sh
diff options
context:
space:
mode:
authorDan Nelson <dnelson@users.sourceforge.net>2010-02-28 22:09:18 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-03-10 12:13:07 +0100
commitb75eb4c5a1cd31effcad9b6fa686dbd43527730a (patch)
tree4c2d600c8408e035d643b92649306db11b03fbde /sample-config-files/firewall.sh
parentAllow 'lport 0' setup for random port binding (diff)
downloadopenvpn-b75eb4c5a1cd31effcad9b6fa686dbd43527730a.tar.xz
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>
Diffstat (limited to '')
-rwxr-xr-xsample-config-files/firewall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample-config-files/firewall.sh b/sample-config-files/firewall.sh
index f0db806..19d75ee 100755
--- a/sample-config-files/firewall.sh
+++ b/sample-config-files/firewall.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# A Sample OpenVPN-aware firewall.