mirror of
https://github.com/openwrt/packages.git
synced 2026-06-17 17:00:28 +04:00
openvpn: change tmp-dir to /tmp
This allows openvpn to create any temp files after user or group change at exec time. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
@@ -128,7 +128,7 @@ proto_openvpn_setup() {
|
||||
append exec_params "--cd $cd_dir"
|
||||
append exec_params "--status /var/run/openvpn.$config.status"
|
||||
append exec_params "--syslog openvpn_$config"
|
||||
append exec_params "--tmp-dir /var/run"
|
||||
append exec_params "--tmp-dir /tmp"
|
||||
[ -n "$config_file" ] && append exec_params "--config \"$config_file\""
|
||||
|
||||
json_get_var ALLOW_DEPRECATED allow_deprecated
|
||||
|
||||
Reference in New Issue
Block a user