Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
This board is now closed. The Blackhole image ended in 2020.
The board will remain available in Read Only Mode, so all the posts from the last 15+ years are not lost.
We thank you for being part of the community for the last 15+ years.
You can join the OpenBh board if you have not already done so at www.openbh.net.
So the question is, how do you run crossepg from telnet like the download button does ?
(yes I've run it before from telnet but it is not using the config file and starts downloading everything...)
So the question is, how do you run crossepg from telnet like the download button does ?
(yes I've run it before from telnet but it is not using the config file and starts downloading everything...)
I don't know if it works but try to connect with telnet, then make download epg with RC, and type ps on telnet to see what processes are working, maybe you could find commands.
This is just a try, because i don't know which commands crossepg uses.
Yes or:
/usr/crossepg/crossepg_epgcopy /media/hdd/crossepg/ext.epg.dat /media/hdd/epg.dat
works too, after that e2 initiates the ram load so this completes a full crossepg run.
Currently the problem I'm having is that crontab refuses to run a script with crossepg commands, even a direct crossepg line does not run via crontab (it works all fine in telnet). Somehow the crossepg modules are protected to run from crontab or some startup values crossepg depends on are missing as it all runs perfectly fine in telnet.
A nice working workaround, place content in the files 'root' and 'bh.cron' in \etc\bhcron:
Code:
15 5 * * * if [ `/bin/date +%a` != "Sun" ] && [ `/bin/date +%a` != "Wed" ]; then /bin/sed 's/download_daily_enabled=./download_daily_enabled=0/g' /usr/crossepg/crossepg.config > /usr/crossepg/crossepg.config.1;rm /usr/crossepg/crossepg.config;mv /usr/crossepg/crossepg.config.1 /usr/crossepg/crossepg.config; fi
18 5 * * * if [ `/bin/date +%a` = "Sun" ] || [ `/bin/date +%a` = "Wed" ]; then /bin/sed 's/download_daily_enabled=./download_daily_enabled=1/g' /usr/crossepg/crossepg.config > /usr/crossepg/crossepg.config.1;rm /usr/crossepg/crossepg.config;mv /usr/crossepg/crossepg.config.1 /usr/crossepg/crossepg.config; fi
20 5 * * * if [ `/bin/date +%a` = "Sun" ] || [ `/bin/date +%a` = "Wed" ]; then /usr/bin/Blackholecmd restartenigma2; fi
22 5 * * * if [ `/bin/date +%a` = "Sun" ] || [ `/bin/date +%a` = "Wed" ]; then /usr/bin/Blackholecmd standby; fi
Place a file with the name \etc\bhcron\cron.update and only 'root' as its contents to get cron to see it.
Hopefully I got the and/or's in the right order. But no more need to fiddle with crossepg, this will enable/disable the auto update option from crossepg. Do adjust crossepg's update time after the last cronjob.
So now we have:
On Wednesday and Sunday do;
1. enable crossepg update option
2. reboot E2
3. go into standby
4. crossepg will auto update at set time
On any other day do;
1. disable crossepg update option
Tnx, but this is basically a 'hack' into crossepg's config file. I've looked into crossepg source code but haven't found how it gets started like when you press the menu download button, its a wrapper system calling individual modules while parsing the config file. I did file a rfc to the author about this wanted 'feature'. But for now this works just the same.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.