From 238c9747bfed1464fed09150aabcfd43c79b377a Mon Sep 17 00:00:00 2001 From: blogic Date: Thu, 31 May 2012 09:35:55 +0000 Subject: [PATCH] [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 --- net/openvpn/files/openvpn.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/openvpn/files/openvpn.init b/net/openvpn/files/openvpn.init index d114e8adc..c58f005f3 100644 --- a/net/openvpn/files/openvpn.init +++ b/net/openvpn/files/openvpn.init @@ -61,7 +61,7 @@ start_instance() { # append flags append_bools "$s" \ 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 \ 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 \ @@ -74,7 +74,7 @@ start_instance() { # append params append_params "$s" \ 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 \ echo engine explicit_exit_notify fragment group hand_window hash_size \ http_proxy http_proxy_option http_proxy_timeout ifconfig ifconfig_pool \