summaryrefslogtreecommitdiff
path: root/security/openvpn/files/openvpn.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'security/openvpn/files/openvpn.sh.in')
-rw-r--r--security/openvpn/files/openvpn.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/openvpn/files/openvpn.sh.in b/security/openvpn/files/openvpn.sh.in
index ee9853a121d8..84da0a29b940 100644
--- a/security/openvpn/files/openvpn.sh.in
+++ b/security/openvpn/files/openvpn.sh.in
@@ -2,7 +2,7 @@
#
# openvpn.sh - load tun/tap driver and start OpenVPN daemon
#
-# (C) Copyright 2005 - 2007 by Matthias Andree
+# (C) Copyright 2005 - 2008 by Matthias Andree
# based on suggestions by Matthias Grimm and Dirk Gouders
# with multi-instance contribution from Denis Shaposhnikov, Gleb Kozyrev
# and Vasil Dimov
@@ -126,6 +126,6 @@ dir="$(eval echo \${${name}_dir})"
interfaces="$(eval echo \${${name}_if})"
required_files=${configfile}
-command_args="--cd ${dir} --daemon --config ${configfile} --writepid ${pidfile}"
+command_args="--cd ${dir} --daemon ${name} --config ${configfile} --writepid ${pidfile}"
run_rc_command "$1"