|
|
@ -1,11 +1,12 @@
|
|
|
|
--- openvpn-2.1_rc9/sample-scripts/openvpn.init.orig 2008-06-13 02:54:58.000000000 -0500
|
|
|
|
--- openvpn-2.1_rc9/sample-scripts/openvpn.init.orig 2008-06-13 02:54:58.000000000 -0500
|
|
|
|
+++ openvpn-2.1_rc9/sample-scripts/openvpn.init 2008-08-13 13:51:46.000000000 -0500
|
|
|
|
+++ openvpn-2.1_rc9/sample-scripts/openvpn.init 2008-08-13 13:51:46.000000000 -0500
|
|
|
|
@@ -151,7 +151,11 @@
|
|
|
|
@@ -151,7 +151,12 @@
|
|
|
|
. $bn.sh
|
|
|
|
. $bn.sh
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
rm -f $piddir/$bn.pid
|
|
|
|
rm -f $piddir/$bn.pid
|
|
|
|
- $openvpn --daemon --writepid $piddir/$bn.pid --config $c --cd $work
|
|
|
|
- $openvpn --daemon --writepid $piddir/$bn.pid --config $c --cd $work
|
|
|
|
+ # Handle backward compatibility, see Red Hat Bugzilla ID #458594
|
|
|
|
+ # Handle backward compatibility, see Red Hat Bugzilla ID #458594
|
|
|
|
|
|
|
|
+ script_security=''
|
|
|
|
+ if [ -z "$( grep '^[[:space:]]*script-security[[:space:]]' $c )" ]; then
|
|
|
|
+ if [ -z "$( grep '^[[:space:]]*script-security[[:space:]]' $c )" ]; then
|
|
|
|
+ script_security="--script-security 2"
|
|
|
|
+ script_security="--script-security 2"
|
|
|
|
+ fi
|
|
|
|
+ fi
|
|
|
|