prpr
Well-Known Member
The WebIF EPG doesn't populate after a reboot on my HDR.
The Process list shows:
/mod/bin/epg -f /media/drive1/epgsavedata sqlitedumpd /media/drive1/epg.db
Obvious that is the wrong path.
With a bit of detective work I find it's started by /mod/etc/init.d/S60parseepg which contains:
Looking at /mnt/hd1/dvbepg immediately after boot, I find it is empty. The epg.dat file appears after about a minute.
This is obviously the cause, so it would seem a better test needs devising. Why not use the /etc/model string?
This used to work until whatever changed in that file on Jan 5 at 02:21.
This now works for me:
The Process list shows:
/mod/bin/epg -f /media/drive1/epgsavedata sqlitedumpd /media/drive1/epg.db
Obvious that is the wrong path.
With a bit of detective work I find it's started by /mod/etc/init.d/S60parseepg which contains:
Code:
if [ -f /mnt/hd1/dvbepg/epg.dat ]; then
epg=/mnt/hd1/dvbepg/epg.dat
epgdb=/mnt/hd1/epg.db
else
epg=/media/drive1/epgsavedata
epgdb=/media/drive1/epg.db
fi
This is obviously the cause, so it would seem a better test needs devising. Why not use the /etc/model string?
This now works for me:
Code:
if [ `cat /etc/model` == 'HDR' ]; then