mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
openvpn: proto handler; handle user config file
Handle a user provided config file. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
@@ -128,6 +128,7 @@ proto_openvpn_setup() {
|
||||
append exec_params " --status /var/run/openvpn.$config.status"
|
||||
append exec_params " --syslog openvpn_$config"
|
||||
append exec_params " --tmp-dir /var/run"
|
||||
[ -n "$config_file" ] && append exec_params " --config \"$config_file\""
|
||||
|
||||
json_get_var ALLOW_DEPRECATED allow_deprecated
|
||||
[ -z "$ALLOW_DEPRECATED" ] && ALLOW_DEPRECATED=0
|
||||
|
||||
Reference in New Issue
Block a user