Jump to content


Photo

Emu erscheint nicht im Softcammenü

Enigma2

  • Please log in to reply
3 replies to this topic

#1 tlm

  • Member
  • 6 posts

0
Neutral

Posted 10 November 2008 - 23:30

hallo

ich möchte auf meiner dm800 gbox nutzen. aber dieser wird vonm plijade nicht im softcammenü angezeigt.

ich muss gxxx ständig von hand starten in telnet

cd /usr/bin
./ gxxx_cam.sh start


wie kann ich das automatisieren oder im menü einbinden?

Re: Emu erscheint nicht im Softcammenü #2 littlesat

  • PLi® Core member
  • 56,940 posts

+695
Excellent

Posted 11 November 2008 - 00:16

durch in /etc/plimgr/cams eine file gbox zu zu fuegen und den inhalt van diesem file is die versions nummer und in /etc/plimgr/scripts eine richtige start/stop script fuer gbox zu machen.

Re: Emu erscheint nicht im Softcammenü #3 tlm

  • Member
  • 6 posts

0
Neutral

Posted 11 November 2008 - 11:15

this to etc/plimg/script

#!/bin/sh
CAMNAME="GBox Master Don"
USERNAME=""
START_TIME=4
STOPP_TIME=2
CAMID=0002
INFOFILE="ecm.info"
# end
remove_tmp () {
rm -rf /tmp/ecm.info /tmp/pid.info /tmp/*gbox*
}
case "$1" in
start)
echo "[SCRIPT] $1: $CAMNAME"
remove_tmp
/usr/bin/dccamd &
sleep 3
/usr/bin/gbox &
;;
stop)
echo "[SCRIPT] $1: $CAMNAME"
kill `cat /tmp/gbox.pid 2>/dev/null` 2>/dev/null
killall -9 gbox
remove_tmp
;;
*)
$0 stop
exit 1
;;
esac
exit 0


and file within this text "gbox225" placed to

etc/plimgr/cams
thats all?

Re: Emu erscheint nicht im Softcammenü #4 tlm

  • Member
  • 6 posts

0
Neutral

Posted 11 November 2008 - 20:39

ok gbox is running with this script , thanky you


#!/bin/sh

CAMNAME2="Gbox"

case "$1" in
start)
echo "[SCRIPT] $1: Starting $CAMNAME2"
remove_tmp
/usr/bin/dccamd &
sleep 3
/usr/bin/gbox &
;;
stop)
echo "[SCRIPT] $1: Stopping $CAMNAME2"
kill `cat /tmp/gbox.pid 2>/dev/null` 2>/dev/null
killall -9 gbox
remove_tmp
;;
*)
$0 stop
exit 1
;;
esac

exit 0





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users