[packages] OpenVPN init script thinks client_disconnect is bool
The OpenVPN init script incorrectly tries to use the client_disconnect option as a bool, but it's a string specifying a script to run when a client disconnects. fixes #11350 git-svn-id: svn://svn.openwrt.org/openwrt/packages@32013 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
61787ed556
commit
238c9747bf
@ -61,7 +61,7 @@ start_instance() {
|
|||||||
# append flags
|
# append flags
|
||||||
append_bools "$s" \
|
append_bools "$s" \
|
||||||
auth_nocache auth_retry auth_user_pass_optional bind ccd_exclusive client client_cert_not_required \
|
auth_nocache auth_retry auth_user_pass_optional bind ccd_exclusive client client_cert_not_required \
|
||||||
client_disconnect client_to_client comp_lzo comp_noadapt disable \
|
client_to_client comp_lzo comp_noadapt disable \
|
||||||
disable_occ down_pre duplicate_cn fast_io float http_proxy_retry \
|
disable_occ down_pre duplicate_cn fast_io float http_proxy_retry \
|
||||||
ifconfig_noexec ifconfig_nowarn ifconfig_pool_linear management_forget_disconnect management_hold \
|
ifconfig_noexec ifconfig_nowarn ifconfig_pool_linear management_forget_disconnect management_hold \
|
||||||
management_query_passwords management_signal mktun mlock mtu_test multihome mute_replay_warnings \
|
management_query_passwords management_signal mktun mlock mtu_test multihome mute_replay_warnings \
|
||||||
@ -74,7 +74,7 @@ start_instance() {
|
|||||||
# append params
|
# append params
|
||||||
append_params "$s" \
|
append_params "$s" \
|
||||||
cd askpass auth auth_user_pass auth_user_pass_verify bcast_buffers ca cert \
|
cd askpass auth auth_user_pass auth_user_pass_verify bcast_buffers ca cert \
|
||||||
chroot cipher client_config_dir client_connect config connect_freq \
|
chroot cipher client_config_dir client_connect client_disconnect config connect_freq \
|
||||||
connect_retry connect_timeout connect_retry_max crl_verify dev dev_node dev_type dh \
|
connect_retry connect_timeout connect_retry_max crl_verify dev dev_node dev_type dh \
|
||||||
echo engine explicit_exit_notify fragment group hand_window hash_size \
|
echo engine explicit_exit_notify fragment group hand_window hash_size \
|
||||||
http_proxy http_proxy_option http_proxy_timeout ifconfig ifconfig_pool \
|
http_proxy http_proxy_option http_proxy_timeout ifconfig ifconfig_pool \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user