Move S60parseepg to epg package
This commit is contained in:
parent
7293ae2c87
commit
70f0b4ca3c
@ -1,31 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "`cat /etc/model`" = HD ]; then
|
||||
epg=/media/drive1/epgsavedata
|
||||
epgdb=/media/drive1/epg.db
|
||||
else
|
||||
epg=/mnt/hd1/dvbepg/epg.dat
|
||||
epgdb=/mnt/hd1/epg.db
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
(
|
||||
ulimit -c unlimited
|
||||
while [ 1 ]; do
|
||||
/mod/bin/epg -f $epg sqlitedumpd $epgdb \
|
||||
> /tmp/epgd.log 2>&1
|
||||
[ $? -eq 143 ] && break
|
||||
done
|
||||
)&
|
||||
;;
|
||||
stop)
|
||||
killall -q epg
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user