I have added/enabled OpenVPN to my Linux Distribution from the OpenEmbedded-Layer. The package created also a file /etc/init.d/openvpn. From there, I can start openvpn with the following command too:
/etc/init.d/openvpn start
But I want OpenVPN to start automatically when the Linux boots up. Does anybody know, how this can be done?
If you look in the log.do_install you would find some info about why the update-rc.d doesn’t work, but yeah with 1.7 I find this feature flaky at best.
Hopefully they fixed it (or at least improved it) in more recent versions of Yocto.