The OpenVPN --cd command line option (change directory) is position-dependant: 
it will take effect when it is encountered on the command line.  To be truly 
useful, it needs to be added to the command line before any other option that 
takes a filesystem path.

Signed-off-by: Stefan Bethke <s...@lassitu.de>

===================================================================
--- net/openvpn/files/openvpn.init      (revision 18960)
+++ net/openvpn/files/openvpn.init      (working copy)
@@ -81,7 +81,7 @@
 
        # append params
        append_params "$s" \
-               askpass auth auth_user_pass auth_user_pass_verify bcast_buffers 
ca cd 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 \
                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 \

-- 
Stefan Bethke <s...@lassitu.de>   Fon +49 151 14070811




_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to