on my Raspberry I am having the Linux Media Center OpenElec and OpenVPN installed and created my *.openvpn File.
When I write the following line on my terminal (WinSCP) VPN is correctly running:
openvpn /storage/.config/Austria-tcp.ovpn
Now I want, that VPN is automatically running and wrote the following lines into the "autostart.sh":
(
sleep 60;
openvpn /storage/.config/Austria-tcp.ovpn
) &
But it isn't running automatically
Is there any possibiblity, that I can check the vpn connection automatically, and if it isn't working, that it is running automatically again.