Ok. Hier sind drei scripte um das aktuelle EPG zu löschen, sichern und wiederherstellen
Um das aktuelle EPG zu löschen:
Bash
#!/bin/sh
wget -O /dev/null -q http://root:password@localhost/web/powerstate?newstate=3
sleep 5
rm -f /media/hdd/epg.dat
exit 0
Um das aktuelle EPG auf /hdd/backup zu sichern:
Bash
#!/bin/sh
wget -O /dev/null -q http://root:password@localhost/web/powerstate?newstate=3
sleep 5
cp -rfp /media/hdd/epg.dat /media/hdd/backup
exit 0
Um das gesicherte EPG vom /hdd/backup zu wiederherstellen:
Bash
#!/bin/sh
wget -O /dev/null -q http://root:password@localhost/web/powerstate?newstate=3
sleep 5
cp -rfp /media/hdd/backup/epg.dat /media/hdd
exit 0
(getestet nur auf OoZooN, iCVS u. OpenPLi)