forked from hummypkg/webif
2128aded40
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@462 2a923420-c742-0410-a762-8d5b09965624
25 lines
318 B
Bash
Executable File
25 lines
318 B
Bash
Executable File
#!/bin/sh
|
|
|
|
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
|
|
|
|
case "$1" in
|
|
start)
|
|
/mod/bin/epg -f $epg sqlitedumpd $epgdb > /tmp/epgd.log &
|
|
;;
|
|
stop)
|
|
killall -q epg
|
|
;;
|
|
*)
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
exit 0
|
|
|