this menu section requeres some improvements
1.
it is soo slow, i can count till 5 until see list of emus
the same operation under bash script will take less than one second
script example:
Alles anzeigen
result:
Alles anzeigen
2.
NN2 code search for line 'EMUNAME=' in all files under /usr/script/*
but must touch only files which have .emu at the end - /usr/script/*.emu
3.
i have few emus, but after strat some of them i have empty EMU List, till GUI restarted, cant see where is my mistake
/usr/script/CCcam2_1_4.emu - OK
/usr/script/camd3_cam.emu - OK
Alles anzeigen
/usr/script/camd3au_cam.emu - NOK
Alles anzeigen
/usr/script/mgcamd.emu - NOK
Alles anzeigen
1.
it is soo slow, i can count till 5 until see list of emus
the same operation under bash script will take less than one second
script example:
Shell-Script
- #!/bin/sh
- #
- # MartiniB #
- #
- #
- n="\n"
- t="\t"
- echo `date +%Y.%m.%d.\ %H:%M:%S`
- if [ -e /etc/rc3.d/S98emustart ]; then
- echo -e "EMU Running:"$t`grep EMUNAME= /etc/rc3.d/S98emustart| sed s/EMUNAME=//`$n
- fi
- for i in /usr/script/*.emu; do
- echo -e $i$t`grep EMUNAME= $i| sed s/EMUNAME=//`
- done
- echo `date +%Y.%m.%d.\ %H:%M:%S`
Quellcode
- root@Dream8k_M4:~#
- root@Dream8k_M4:~# /usr/script/tmp_100916.sh
- 2010.09.16. 18:28:50
- EMU Running: "Camd3.910L+au_script"
- /usr/script/CCcam2_1_4.emu "CCcam 2.1.4"
- /usr/script/camd3_cam.emu "Camd3.910L+au_script"
- /usr/script/camd3au_cam.emu "Camd3.902_CardUpdate"
- /usr/script/mgcamd.emu "Mgcamd 1.30"
- /usr/script/mgcamd1.35.emu "Mgcamd 1.35a"
- 2010.09.16. 18:28:50
- root@Dream8k_M4:~#
2.
NN2 code search for line 'EMUNAME=' in all files under /usr/script/*
but must touch only files which have .emu at the end - /usr/script/*.emu
3.
i have few emus, but after strat some of them i have empty EMU List, till GUI restarted, cant see where is my mistake
/usr/script/CCcam2_1_4.emu - OK
/usr/script/camd3_cam.emu - OK
Shell-Script
- #!/bin/sh
- ########################################
- ###### ######
- ### ###
- ########################################
- /usr/script/my_init.sh &
- # EMUNAME is only Display name for EMU Menu
- EMUNAME="Camd3.910L+au_script"
- # Set parsing camd for CA OSD
- # values are "gbox","mgcamd","evocamd","cccam"
- CANAME="camd3"
- # Set /tmp/ecm.info file delay for CA OSD
- # values are "200","300","400","500","600","700","800","900","1000"
- ECMINFODELAY="500"
- case "$1" in
- *st*)
- /usr/script/camd3_cam.sh "$1" &
- ;;
- *)
- "$0" stop &
- exit 1
- ;;
- esac
- exit 0
Shell-Script
- #!/bin/sh
- ########################################
- ###### ######
- ### ###
- ########################################
- # EMUNAME is only Display name for EMU Menu
- EMUNAME="Camd3.902_CardUpdate"
- # Set parsing camd for CA OSD
- # values are "gbox","mgcamd","evocamd","cccam"
- CANAME="camd3"
- # Set /tmp/ecm.info file delay for CA OSD
- # values are "200","300","400","500","600","700","800","900","1000"
- ECMINFODELAY="500"
- case "$1" in
- *st*)
- /usr/script/camd3au_cam.sh "$1" &
- ;;
- *)
- "$0" stop &
- exit 1
- ;;
- esac
- exit 0
Shell-Script
- #!/bin/sh
- ########################################
- ###### Powered by NewNigma2 Team ######
- ### http://newngima2.to ###
- ########################################
- # EMUNAME is only Display name for EMU Menu
- EMUNAME="Mgcamd 1.30"
- # Set parsing camd for CA OSD
- # values are "gbox","mgcamd","evocamd","cccam"
- CANAME="mgcamd"
- # Set /tmp/ecm.info file delay for CA OSD
- # values are "200","300","400","500","600","700","800","900","1000"
- ECMINFODELAY="500"
- BinNAME="mgcamd_1.30"
- remove_tmp ()
- {
- [ -e /tmp/ecm.info ] && rm -rf /tmp/ecm.info
- [ -e /tmp/pid.info ] && rm -rf /tmp/pid.info
- [ -e /tmp/cardinfo ] && rm -rf /tmp/cardinfo
- [ -e /tmp/mgcamd.pid ] && rm -rf /tmp/mgcamd.pid
- }
- case "$1" in
- start)
- echo "[SCRIPT] $1: $EMUNAME"
- remove_tmp
- #/usr/bin/"$BinNAME">/dev/null &
- /usr/bin/"$BinNAME" &
- pidof "$BinNAME">/tmp/mgcamd.pid
- ;;
- stop)
- echo "[SCRIPT] $1: $EMUNAME"
- killall -9 "$BinNAME"
- remove_tmp
- ;;
- restart)
- $0 stop
- sleep 2
- $0 start
- exit
- ;;
- *)
- $0 stop
- exit 1
- ;;
- esac
- exit 0
dm7080sstt; 2x dm8000sstt; dm7020s <- Diseq1x4 <- 3x Diseq1x10 <-
Dishes:
1.8m 36E;28E;23E;19E;16E;13E;7E
1.6m 42E;36E
1.0m 10/9E;5E;1W;8W
1.0m 15W;22W;30W
1.1m 4/5W;12W;18W;24W
1.1m 53E;60E
1.0m 75E
TVs: Philips 46pfl9707s; Philips 42pfl9703h
Dishes:
1.8m 36E;28E;23E;19E;16E;13E;7E
1.6m 42E;36E
1.0m 10/9E;5E;1W;8W
1.0m 15W;22W;30W
1.1m 4/5W;12W;18W;24W
1.1m 53E;60E
1.0m 75E
TVs: Philips 46pfl9707s; Philips 42pfl9703h