Enable autostart of vpn clients
Currently vpn client connection is not initiated after router restart, but should be started if there is any enabled vpn client.
Service openvpn
is not enabled by default, even though it is present in /etc/services_wanted
. User has to run /etc/init.d/openvpn enable
manually to enable it.
It looks like regression to turris/openwrt#340
How to reproduce?
- Clean install of TOS 5.1.4 (HBS at the moment). Tested on Mox and Omnia.
- Install openvpn packages through reForis.
- Setup either OpenVPN server or client.
- Reboot
Expected behaviour
openvpn
process is running after reboot
Actual behaviour
openvpn
is neither running, nor there are symlinks to openvpn in /etc/rc.d
.