hi,
part 3:
create a script and make it executable (i named it starttvheadend.sh)
This script is started in background during resume
-------------------------------
#!/bin/sh
sleep 5
echo "yourpassword" | sudo -S killall -9 xbmc.bin
service tvheadend start
--------------------------------
effect:
- sleep awhile to make sure everything is back up and running (remember this script is executed after resume)
- kill xbmc (fill in correct password)
- start tvheadend
combined with the other scripts the effect after resume is:
- drivers loaded, lirc started
- sleep awhile so everything is up and running again : NETWORK!!
- xbmc is killed but automatically restarted after a while because of the startup script: effect update of EPG info!
I had the problem that after long time standby EPG was not correct anymore, restart of xbmc forces an EPG info update
- tvheadend starts AFTER network is up and running hence connection to CWC succeeds immediately. (and not 1 minute later when retrying to connect to CWC)
It is not the most elegant way to fix these problems but it does the trick!
Greetz Marcel