2015-06-25, 12:19
(2015-06-24, 13:57)YippeeKaiay Wrote: I found the issue it was the VPN. The issue stopped when I removed the autostart.sh and came back when I replaced it. I guess that's a kodi issue?
(2015-06-24, 15:46)Matt Devo Wrote: I'd say more of an OpenELEC one, perhaps it's trying to reconnect to the VPN before the network connection comes back up fully?
Yea I just found I lose my Internet connection on resume, I guess because the vpn is not stopped. I have tried to make a supsend/resume script and it stops the vpn before but I can't get it to reconnect after! This is the script I use
#!/bin/sh
case "$1" in
pre)
killall openvpn &
;;
post)
openvpn /storage/.config/vpn-config/uk-southampton.ovpn &
;;
esac
Do you have any ideas?? If I run (openvpn /storage/.config/vpn-config/uk-southampton.ovpn &) in putty it starts up again. Am I missing a command?