]> git.pld-linux.org Git - packages/openvpn.git/commitdiff
- allow options for all openvpn instances
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 4 Aug 2008 18:43:28 +0000 (18:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    openvpn.init -> 1.32
    openvpn.sysconfig -> 1.4

openvpn.init
openvpn.sysconfig

index edd3be90eeffdc41ddf613f3c6004379fe6d5587..8f0c97baf514261b1ceb90789241247220715afd 100644 (file)
@@ -75,7 +75,7 @@ start() {
                                fi
 
                                daemon openvpn --daemon --writepid "/var/run/openvpn/$tun.pid" \
-                                       --config $config --cd /etc/openvpn
+                                       --config $config --cd /etc/openvpn ${OPENVPN_OPT}
                                RET=$?
                        fi
                        [ $RETVAL -eq 0 ] && RETVAL=$RET
index 5c7d5bf96f2c7e6b8099016d96eee9f9964057d4..42a47294366466bc50aaed29fc0b0a79a1ce37d4 100644 (file)
@@ -3,6 +3,9 @@
 # Nice level for sysconf
 SERVICE_RUN_NICE_LEVEL="+0"
 
+# Options for all tunnels
+#OPENVPN_OPT="--script-security 2"
+
 # Tunnels to set up. For each tunnel name, there should be config file in /etc/openvpn
 #TUNNELS="mytunnel"
 TUNNELS=""
This page took 0.098948 seconds and 4 git commands to generate.