diff options
Diffstat (limited to 'support/init.d.examples/openvpn.in')
-rw-r--r-- | support/init.d.examples/openvpn.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/init.d.examples/openvpn.in b/support/init.d.examples/openvpn.in index 1608228e..d80cb295 100644 --- a/support/init.d.examples/openvpn.in +++ b/support/init.d.examples/openvpn.in @@ -12,10 +12,10 @@ vpn=${RC_SVCNAME#*.} name="OpenVPN" [ "$vpn" != openvpn ] && name="$name ($vpn)" -command=@PKG_PREFIX@/sbin/openvpn +command=/sbin/openvpn pidfile=/var/run/"$RC_SVCNAME".pid -: ${openvpn_dir:=@PKG_PREFIX@/etc/openvpn} +: ${openvpn_dir:=/etc/openvpn} : ${openvpn_config:=$openvpn_dir/$vpn.conf} command_args="$openvpn_args --daemon --config $openvpn_config" command_args="$command_args --writepid $pidfile" |