I am using Yocto for a rpi4 target. I was using a systemd service to activate my VPN over openvpn at boot:
[Unit]Description=OpenVPN connection to .ovpn fileAfter=network.target[Service]Type=forkingExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn-client/%i.status 10 -cd /etc/openvpn/client/ --config /etc/openvpn/client/%i.ovpnExecReload=/bin/kill -HUP $MAINPIDyWorkingDirectory=/etc/openvpn/client[Install]WantedBy=multi-user.target
I was using, Networkmanager + Openvpn package in yocto. Lately, I discovered the package Networkmanager-openvpn. What is the purpose of this package ? How to use it ?