Index: /ipk/source/swapemus_camd3_3_902/CONTROL/control
===================================================================
--- /ipk/source/swapemus_camd3_3_902/CONTROL/control	(revision 5427)
+++ /ipk/source/swapemus_camd3_3_902/CONTROL/control	(revision 5427)
@@ -0,0 +1,10 @@
+Package: enigma2-plugin-swapemus-camd3.v3.902
+Version: 3.902
+Architecture: sh4
+OE: camd3.902 and Configs! SWAPSTICK IS NEEDED!
+Section: extra
+Priority: optional
+Maintainer: AAF
+Homepage: http://www.aaf-digital.info
+Source: http://www.aaf-digital.info
+Description: Emu Camd3 v3.902 for your AAF- Duckbox
Index: /ipk/source/swapemus_camd3_3_902/CONTROL/postinst
===================================================================
--- /ipk/source/swapemus_camd3_3_902/CONTROL/postinst	(revision 5427)
+++ /ipk/source/swapemus_camd3_3_902/CONTROL/postinst	(revision 5427)
@@ -0,0 +1,21 @@
+#!/bin/sh
+TMP=/tmp/.camd3
+PLUGINDIR=/var/swap/bin
+CONFIGDIR=/var/etc
+CONFIGDIR=/var/swap/keys
+
+
+echo "Make Symlinks......."
+ln -s /var/swap/bin/camd3.902 /var/bin/camd3.902
+ln -s /var/swap/bin/pcamd /var/bin/pcamd
+ln -s /var/swap/keys/camd3.config /var/keys/camd3.config
+ln -s /var/swap/keys/camd3.servers /var/keys/camd3.servers
+ln -s /var/swap/keys/camd3.users /var/keys/camd3.users
+
+
+echo "successfully installed"
+echo "syncing disk"
+
+sync
+exit 0
+exit 0
Index: /ipk/source/swapemus_camd3_3_902/CONTROL/postrm
===================================================================
--- /ipk/source/swapemus_camd3_3_902/CONTROL/postrm	(revision 5427)
+++ /ipk/source/swapemus_camd3_3_902/CONTROL/postrm	(revision 5427)
@@ -0,0 +1,11 @@
+#!/bin/sh
+TMP=/tmp/.camd3
+echo "successful removed"
+echo "syncing disk"
+sync
+if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
+	SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
+	FREE=`expr $SPACE - 100`
+	echo new freespace size $FREE kb
+fi
+exit 0
Index: /ipk/source/swapemus_camd3_3_902/CONTROL/preinst
===================================================================
--- /ipk/source/swapemus_camd3_3_902/CONTROL/preinst	(revision 5427)
+++ /ipk/source/swapemus_camd3_3_902/CONTROL/preinst	(revision 5427)
@@ -0,0 +1,44 @@
+#!/bin/sh
+#
+TMP=/tmp/.camd3
+echo "syncing disk"
+sync
+
+model=`cat /etc/model`
+echo""
+echo "Checking your Boxtype...."
+echo "Some Plugins will not work correctly on your $model!"
+echo ""
+if [ "$model" = "" ]; then
+	echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!"
+	echo "Aborting installation..."
+	exit 1
+else
+	echo "Boxtype: $model OK"
+fi
+
+if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
+	SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
+	FREE=`expr $SPACE - 100`
+	SIZE=260
+	echo "check freespace"
+	echo packege size $SIZE kb
+	echo freespace size $FREE kb
+	if  [ "$FREE" -lt "$SIZE" ]; then
+		echo "sorry no freespace on device"
+		exit 1
+	else
+		echo ok
+	fi
+fi   
+echo "install camd3 ..."
+echo "checking OS"
+if  [ `cat /etc/motd | grep AAF | grep M | grep rev | wc -l` -eq 0 ]; then                      
+	echo ---------------------------
+	echo DONT USE this IPK Package!!
+	echo ---
+	echo Only for AAF Image!!
+	echo ---------------------------
+	exit 1
+fi
+exit 0
Index: /ipk/source/swapemus_camd3_3_902/CONTROL/prerm
===================================================================
--- /ipk/source/swapemus_camd3_3_902/CONTROL/prerm	(revision 5427)
+++ /ipk/source/swapemus_camd3_3_902/CONTROL/prerm	(revision 5427)
@@ -0,0 +1,26 @@
+#!/bin/sh
+TMP=/tmp/.skin
+echo "syncing disk"
+sync
+if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
+	SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
+	FREE=`expr $SPACE - 100`
+	echo freespace size $FREE kb
+fi
+echo "remove camd3"
+if [ ! -e /var/keys/camd3.config.camd3 ]; then
+	echo "rename camd3.config -> camd3.config.camd3"
+	mv /var/keys/camd3.config /var/keys/camd3.config.camd3
+fi
+if [ ! -e /var/keys/camd3.servers.camd3 ]; then
+	echo "rename camd3.servers -> camd3.servers.camd3"
+	mv /var/keys/camd3.servers /var/keys/camd3.servers.camd3
+fi
+if [ ! -e /var/keys/camd3.users.camd3 ]; then
+	echo "rename camd3.users -> camd3.users.camd3"
+	mv /var/keys/camd3.users /var/keys/camd3.users.camd3
+fi
+
+exit 0
+
+
Index: /ipk/source/swapemus_camd3_3_902/var/etc/camd3.902.emu
===================================================================
--- /ipk/source/swapemus_camd3_3_902/var/etc/camd3.902.emu	(revision 5427)
+++ /ipk/source/swapemus_camd3_3_902/var/etc/camd3.902.emu	(revision 5427)
@@ -0,0 +1,4 @@
+emuname  =Camd Version 3.902
+binname  =camd3.902
+startcam =/var/emu/camd3.902 /var/keys/camd3.config &
+stopcam  =/var/emu/pcamd -kill
Index: /ipk/source/swapemus_camd3_3_902/var/swap/keys/camd3.config
===================================================================
--- /ipk/source/swapemus_camd3_3_902/var/swap/keys/camd3.config	(revision 5427)
+++ /ipk/source/swapemus_camd3_3_902/var/swap/keys/camd3.config	(revision 5427)
@@ -0,0 +1,71 @@
+# Wenn Parameter gebraucht wird - '#' (Kommentarzeichen) entfernen und eure Werte reinsetzen!!!!!
+#
+#
+# 
+# Boxtyp(optional):  1-dbox2, 2-dm7000, 3-dm7020, 4-dm500,
+# 										5-dm56xx/Triax, 7-elanvision, 9-server only, 10-relook, 11-dm600
+#											12-ufs910, 13-dm800
+# Default is 9 - server only
+BOXTYPE=13
+#
+# UDP Port(optional);  Defailt - 20248
+#UDP_PORT=24110
+
+# UDP Host(optional);  Defailt - any
+#UDP_HOST=192.168.0.1
+
+# HTTP Port(optional);  Defailt - 9080 ( 0: HTTP-server ausgeschaltet)
+#HTTP_PORT=9080
+
+# HOST Host(optional);  Defailt - any
+#HOST_HOST=192.168.0.1
+
+# HTTP Login: Default - admin:camd3
+#HTTP_ADMIN=admin
+#HTTP_PASSWORD=camd3
+
+# Log(optional): 0 - keine Ausgaben, 1-Datei, 2 - Console, 4 - UDP(syslog), 3 - Console+Datei, 5 - UDP+Datei, 6 - UDP+Console, 7-UDP+Console+Datei;  Default ist 2;
+#LOG=2
+
+# descrambler delax in ms
+#DESCR_DELAY=500
+
+# Host für UDP-logging
+#LOG_HOST=192.168.1.1
+
+# Port für UDP-logging(optional);  Default ist 514
+#LOG_PORT=514
+
+# DNS cache in sekunden;  Default ist 60 sec
+#DNS_CACHE=60
+
+
+# Logfile
+#LOG_FILE=/mnt/hdd/var/log/camd3.log
+
+# AU für original Slot dbox2 (optional): 1-ein, 0-aus;  Default ist 1
+#DBOX2_AU=0
+
+# Kartenslots (anzahl beliebig)
+# je eine Zeile für Slot:
+# SLOT=devicename:type:au_g:au_s:au_u:port:username:password(carddetect):deskey
+#
+# deskey für normale Slots ist optional, aber port,username und password müssen immer angegeben werden!!!
+#
+# für die Kartenleser(aber nicht multicam für dbox2) statt password, CTS oder CAR eingeben (carddetect - default - CAR)
+#
+# devicename: Pfad (volständig) zum Device, oder Hostname von cardserver(newcamd) - /dev/ttyS0...9 für win32-version
+# type: 1-serial, 2-intern(dreambox, elanvision, tripledragon), 4-cardserver(newcamd)
+# au_g: 1-eingeschaltet, 0-ausgeschaltet
+# au_s: 1-eingeschaltet, 0-ausgeschaltet
+# au_u: 1-eingeschaltet, 0-ausgeschaltet
+# port: port
+# username: loginname
+# password: loginpassword
+# deskey: cardserver deskey (14 byte)
+#SLOT=/dev/tts/0:1:1:1:1:997:com1:CAR
+#SLOT=/dev/ttyS0:1:1:1:1:997:com1:CTS
+#SLOT=/dev/sci0:2:1:1:1:999:slotunten:password3
+#SLOT=/dev/sci1:2:1:1:1:998:slotoben:password2
+#SLOT=localhost:4:1:1:1:22222:dummy:dummy:0102030405060708091011121314
+#SLOT=/dev/cardreader1:2:1:1:1:998:slotoben:password2
Index: /ipk/source/swapemus_camd3_3_902/var/swap/keys/camd3.servers
===================================================================
--- /ipk/source/swapemus_camd3_3_902/var/swap/keys/camd3.servers	(revision 5427)
+++ /ipk/source/swapemus_camd3_3_902/var/swap/keys/camd3.servers	(revision 5427)
@@ -0,0 +1,10 @@
+#
+# Sende alle ECMs
+#cs357x://benutzer1:password1@192.168.1.1:32897
+#
+# use emu remote au
+#cs357x://benutzer1:password1:AU_CAID=1801&AU_IDENT=501@192.168.1.1:32897
+#
+# Sende gefiltert nach Services (z.B nur Start und Film)
+#
+#cs357x://benutzer3:password3:SERVICES=/var/keys/pw_start.services&SERVICES=/var/keys/pw_film.services@myhost.mydomain:16663
Index: /ipk/source/swapemus_camd3_3_902/var/swap/keys/camd3.users
===================================================================
--- /ipk/source/swapemus_camd3_3_902/var/swap/keys/camd3.users	(revision 5427)
+++ /ipk/source/swapemus_camd3_3_902/var/swap/keys/camd3.users	(revision 5427)
@@ -0,0 +1,35 @@
+# Alle services erlaubt, IN_CASC erlaubt, OUT_CASC erlaubt
+benutzer1:password2
+
+# REMM
+#benutzer1:password2:REMM=/dev/sci1 (kann auch mit FROM und(oder) SERVICES benutzt werden)
+
+# nur Start
+#benutzer2:password2:SERVICES=/var/keys/pw_start.services
+
+# nur Fim
+#benutzer3:password3:SERVICES=/var/keys/pw_film.services
+
+# nur Start UND Film
+#benutzer3:password3:SERVICES=/var/keys/pw_start.services&SERVICES=/var/keys/pw_film.services
+
+# Cascadingungsabfragen von benutzer5 werden akzeptiert und local bearbeiteit, wenn es in services steht
+#benutzer5:password5:SERVICES=/var/keys/pw_start_in
+
+# Cascading für benutzer6 aktiviert
+#benutzer6:password6:SERVICES=/var/keys/pw_start_out.services
+
+#Cascadingungsabfragen von benutzer7 werden akzeptier, local bearbeiteit und anderen Server weitergeleitet
+#benutzer7:password7:SERVICES=/var/keys/pw_start_all.services
+
+# Nur Anfragen von einer bestimmten IP-Adresse sind erlaubt (kann auch mit REMM und(oder) SERVICES benutzt werden)
+#benutzer8:password8:FROM=sein.hostname.domain
+#benutzer9:password9:FROM=192.168.1.210
+
+# DISABLE=1 -> Sende Disable-Service, wenn nicht in Service-List (kann mit Anderen Parameters kombiniert werden)
+benutzer110:password10:DISABLE=1&SERVICES=/var/keys/pw_start.services
+
+# DISABLE=2 -> Sende Fake-DW, wenn nicht in Service-List (kann mit Anderen Parameters kombiniert werden)
+benutzer110:password10:DISABLE=2&SERVICES=/var/keys/pw_start.services
+
+# PRIORITY=3
Index: /ipk/source/swapemus_mgcamd_1_35/CONTROL/control
===================================================================
--- /ipk/source/swapemus_mgcamd_1_35/CONTROL/control	(revision 5427)
+++ /ipk/source/swapemus_mgcamd_1_35/CONTROL/control	(revision 5427)
@@ -0,0 +1,10 @@
+Package: enigma2-plugin-swapemus-mgcamd.v1.35
+Version: 1.35
+Architecture: sh4
+OE: mgcamd 1.35 and Configs! SWAPSTICK IS NEEDED!
+Section: extra
+Priority: optional
+Maintainer: AAF
+Homepage: http://www.aaf-digital.info
+Source: http://www.aaf-digital.info
+Description: Emu MGCamd v1.35 for Swapstick
Index: /ipk/source/swapemus_mgcamd_1_35/CONTROL/postinst
===================================================================
--- /ipk/source/swapemus_mgcamd_1_35/CONTROL/postinst	(revision 5427)
+++ /ipk/source/swapemus_mgcamd_1_35/CONTROL/postinst	(revision 5427)
@@ -0,0 +1,22 @@
+#!/bin/sh
+TMP=/tmp/.mgcamd
+PLUGINDIR=/var/swap/bin
+CONFIGDIR=/var/etc
+CONFIGDIR=/var/swap/keys
+
+echo "Make Symlinks......."
+ln -s /var/swap/bin/mgcamd_1.35 /var/bin/mgcamd_1.35
+ln -s /var/swap/keys/cccamd.list /var/keys/cccamd.list
+ln -s /var/swap/keys/ignore.list /var/keys/ignore.list
+ln -s /var/swap/keys/mg_cfg /var/keys/mg_cfg
+ln -s /var/swap/keys/newcamd.list /var/keys/newcamd.list
+ln -s /var/swap/keys/peer.cfg /var/keys/peer.cfg
+ln -s /var/swap/keys/priority.list /var/keys/priority.list
+ln -s /var/swap/keys/replace.list /var/keys/replace.list
+ln -s /var/swap/keys/SoftCam.Key /var/keys/SoftCam.Key
+
+echo "successfully installed"
+echo "syncing disk"
+
+sync
+exit 0
Index: /ipk/source/swapemus_mgcamd_1_35/CONTROL/postrm
===================================================================
--- /ipk/source/swapemus_mgcamd_1_35/CONTROL/postrm	(revision 5427)
+++ /ipk/source/swapemus_mgcamd_1_35/CONTROL/postrm	(revision 5427)
@@ -0,0 +1,11 @@
+#!/bin/sh
+TMP=/tmp/.mgcamd
+echo "successfully removed"
+echo "syncing disk"
+sync
+if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
+	SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
+	FREE=`expr $SPACE - 100`
+	echo new freespace size $FREE kb
+fi
+exit 0
Index: /ipk/source/swapemus_mgcamd_1_35/CONTROL/preinst
===================================================================
--- /ipk/source/swapemus_mgcamd_1_35/CONTROL/preinst	(revision 5427)
+++ /ipk/source/swapemus_mgcamd_1_35/CONTROL/preinst	(revision 5427)
@@ -0,0 +1,45 @@
+#!/bin/sh
+#
+TMP=/tmp/.mgcamd
+echo "syncing disk"
+sync
+
+model=`cat /etc/model`
+echo""
+echo "Checking your Boxtype...."
+echo "Some Plugins will not work correctly on your $model!"
+echo ""
+if [ "$model" = "" ]; then
+	echo "Sorry! This Plugin is not available for your $model because it will not work correctly!!!"
+	echo "Aborting installation..."
+	exit 1
+else
+	echo "Boxtype: $model OK"
+fi
+
+if [ `df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1 | wc -l` -eq 1 ]; then
+	SPACE=`df | grep /dev/mtdblock | grep var | sed 's/ \+/ /g' | cut -d ' ' -f4 | tail -n1`
+	FREE=`expr $SPACE - 100`
+	SIZE=550
+	echo "checking freespace"
+	echo packege size $SIZE kb
+	echo freespace size $FREE kb
+	if  [ "$FREE" -lt "$SIZE" ]; then
+		echo "sorry no freespace left on device"
+		exit 1
+	else
+		echo ok
+	fi
+fi   
+echo "installing mgcamd ..."
+echo "checking OS"
+if  [ `cat /etc/motd | grep AAF | grep M | grep rev | wc -l` -eq 0 ]; then                      
+	echo ---------------------------
+	echo DONT USE this IPK Package!!
+	echo ---
+	echo Only for AAF Image!!
+	echo ---------------------------
+	exit 1
+fi
+
+exit 0
Index: /ipk/source/swapemus_mgcamd_1_35/CONTROL/prerm
===================================================================
--- /ipk/source/swapemus_mgcamd_1_35/CONTROL/prerm	(revision 5427)
+++ /ipk/source/swapemus_mgcamd_1_35/CONTROL/prerm	(revision 5427)
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+TMP=/tmp/.mgcamd
+echo "syncing disk"
+sync
+
+exit 0
Index: /ipk/source/swapemus_mgcamd_1_35/var/etc/mgcamd_1.35.emu
===================================================================
--- /ipk/source/swapemus_mgcamd_1_35/var/etc/mgcamd_1.35.emu	(revision 5427)
+++ /ipk/source/swapemus_mgcamd_1_35/var/etc/mgcamd_1.35.emu	(revision 5427)
@@ -0,0 +1,4 @@
+emuname  =MgCamd Version 1.35
+binname  =mgcamd_1.35
+startcam =/var/emu/mgcamd_1.35 &
+stopcam  =killall -9 mgcamd_1.35
Index: /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/SoftCam.Key
===================================================================
--- /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/SoftCam.Key	(revision 5427)
+++ /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/SoftCam.Key	(revision 5427)
@@ -0,0 +1,7 @@
+# ********* ORF **********
+W 0D0504 00 A9D732F5E738E48A91C8638B12746661 ;ECM
+W 0D0504 06 0987CF2A611D ;SYSTEM
+# ****** AustriaSat ******
+W 0D0510 01 C229A4036100E81A42BAC3C70EBBC852 ;ECM
+W 0D0510 06 0987CF2A611D ;SYSTEM
+
Index: /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/cccamd.list
===================================================================
--- /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/cccamd.list	(revision 5427)
+++ /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/cccamd.list	(revision 5427)
@@ -0,0 +1,1 @@
+C: 172.16.1.1 12000 user1 pass1
Index: /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/ignore.list
===================================================================
--- /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/ignore.list	(revision 5427)
+++ /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/ignore.list	(revision 5427)
@@ -0,0 +1,45 @@
+########  ORF Austria - FIX  test  ##########
+#
+#ignore viaccess providers:
+V: { 02 26 10 }
+V: { 03 29 40 }
+V: { 02 44 00 }
+#
+#ignore seca providers:
+S: { 00 81 }
+S: { 33 11 }
+S: { 33 17 }
+S: { A8 21 }
+S: { 00 6A }
+S: { 00 6C }
+S: { 00 6D }
+#
+#ignore CAID?s
+X: { 06 22 }
+X: { 06 24 }
+X: { 06 48 }
+X: { 09 AF }
+X: { 09 C4 }
+X: { 09 C7 }
+X: { 09 8E }
+X: { 0B 00 }
+# X: { 17 02 }
+X: { 17 22 }
+X: { 18 10 }
+X: { 18 15 }
+# X: { 18 33 }
+X: { 18 34 }
+X: { 18 37 }
+X: { 0D 00 }
+X: { 0D 02 }
+X: { 0D 03 }
+X: { 0D 70 }
+X: { 0D 95 }
+X: { 0D 96 }
+#
+#ignore irdeto chids
+I: { 00 02 }
+I: { 00 09 }
+I: { 00 14 }
+I: { 00 32 }
+I: { 00 33 }
Index: /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/mg_cfg
===================================================================
--- /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/mg_cfg	(revision 5427)
+++ /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/mg_cfg	(revision 5427)
@@ -0,0 +1,135 @@
+# EMM messages
+#    00 don't show any EMMs (default)
+#    01 show only valid EMMs
+#    02 show valid and bad EMMs with complete data display
+M: { 00 }
+
+# ECM messages
+#    00 don't show anything about ecm
+#    01 normal mode, show pids processed, decoded ecm and cw
+#    02 verbose mode, show valid and bad ECMs with data
+C: { 01 }
+
+# AU
+#    00 disable, no emm pids processed
+#    01 enable, emm pids always processed for soft-au and shared cards
+#    02 auto, emm started only if channel cant be decoded
+#    03 process emm pids for network cards update only
+A: { 01 }
+
+# key update (sum 01 or 02 with 04)
+#    01 update only new keys, default setting
+#    02 update all keys (used for valid PMK checking)
+#    04 enable TPS au
+#    + tps SID, which pmt pid contains au pid
+U: { 01 } 0x12c0
+
+# config files folder (softcam, autoroll, ignore/priority)
+#    00 files in /var/keys
+#    01 files in /tmp
+T: { 00 }
+
+# network mode, use summ for several clients
+#    00 no network (default)
+#    01 newcamd netclient
+#    02 radegast netclient
+#    04 camd3 netclient
+#    08 gbox netclient
+#    32	cccamd netclient, card list saved as /tmp/cccamd.info 
+#    	(ECM only, supported server version up to 2.1.1, later not work)
+G: { 32 }
+
+# network retry, use summ for several options
+#    00 disable
+#    01 retry every new ecm
+#    02 try to connect to offline shares every Q: seconds
+#    04 try to detect and fast reconnect to lost (and not used atm) server
+#    + XX messages number and YY seconds to reconnect
+#    mg will reconnect to server, if no answer to last XX ecm/keepalive or
+#    if no answer for last ecm or keepalive sent for YY seconds
+#    set to 0 to disable
+N: { 07 } 5 30
+
+# network ecm timeout in seconds
+K: { 05 }
+
+# newcamd dead routes connect retry, sec
+Q: { 600 }
+
+# network shares priority
+# 00 gbox, newcamd, cccamd, radegast, camd3 (default)
+# 01 camd3, radegast, cccamd, gbox, newcamd
+# 02 cccamd, newcamd, camd3, gbox, radegast
+P: { 02 }
+
+# on screen display type
+#    00 No OSD (default)
+#    01 neutrino
+#    02 enigma
+#    03 relook
+#    + user password for http auth
+O: { 01 } root newcs
+
+# on screen display Options, summ of:
+#    01 show emu ecm 
+#    02 show network shares messages
+#    04 show decoding failed / fta
+#    08 show emm keys update
+#    + web port to use for osd
+S: { 03 } 8080
+
+# Log option, summ of:
+#    00 off
+#    01 network udp log
+#    02 log to console
+#    04 file, appended ! delete it by yourself, before it eat all your hdd
+#    + IP udp-port log-file-name
+L: { 02 } 127.0.0.1 28007 /tmp/mgcamd.log
+
+# keep ecm cache, seconds
+# every cache entry takes 28 bytes, so 24h cache will take *only* 240-400kb of memory,
+# for openbox/elanvision users with remote shares make sense to set it higher than default value, 
+# to not hammer cards while timeshifting or playing crypted recordings.
+E: { 15 }
+
+# cache option, summ of:
+#    00 Off (default)
+#    01 Ecm pids cache, store pids used to decode in /tmp/ca_cache.list at exit, load at startup, same syntax as restore.list
+#    02 Ecm data cache, remember CW for (E:) time 
+#    04 Emm cache for network cards, do not resend the same emm twice, cache not cleared until restart
+H: { 07 }
+
+# reread files, summ of: 
+#    00 No (default)
+#    01 reread config file on channel change (including priority and ignore, but not replace/cache)
+#    02 reread SoftCam.Key on channel change
+#    04 reread SoftCam.Key if file changed
+R: { 00 }
+
+# debug, summ of
+# 00 off (default)
+# 01 debug ecm
+# 02 debug emm
+# 04 debug network ecm
+# 08 debug network emm
+# 16 debug network login
+# 32 show mem/cpu stats every 1 min
+# 64 add timestamp to log messages
+D: { 00 }
+
+# box type
+# 00 autodetect, change only if you think wrong type detected.
+# 01 dbox2
+# 02 dreambox
+# 03 triple-dragon
+# 04 relook
+# 05 openbox
+# 06 dreambox/mips
+# 08 stapi/kathrein
+# 09 stapi/ipbox
+# 11 stapi/openbox
+B: { 11 }
+
+# map all 180x nagra caids to 1801
+# default is 01
+F: { 00 }
Index: /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/newcamd.list
===================================================================
--- /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/newcamd.list	(revision 5427)
+++ /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/newcamd.list	(revision 5427)
@@ -0,0 +1,4 @@
+CWS_KEEPALIVE = 300
+CWS_INCOMING_PORT = 21000
+CWS = 192.168.1.1 20000 dummy dummy 10 02 13 04 15 06 17 08 01 10 11 12 13 14 lan server1
+CWS_MULTIPLE = 192.168.1.2 20000:20005 dummy dummy 10 02 13 04 15 06 17 08 01 10 11 12 13 14 lan server2
Index: /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/peer.cfg
===================================================================
--- /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/peer.cfg	(revision 5427)
+++ /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/peer.cfg	(revision 5427)
@@ -0,0 +1,38 @@
+# sample peer.cfg for gbox client in mgcamd
+# syntax the same as in cwshare.cfg, 
+# you can just copy cwshare.cfg to this file.
+# see below for supported tags, others not supported (yet).
+
+# max cards to send ecm too + preffered cards ids (up to 32)
+X: { 05 } 1234 ABCD
+
+# max card's distance to use for ecm
+I: ( 05 }
+
+# resend after 2 seconds, re-sync (send to all) after 3 seconds
+N: { 0 0 0 0 2000 3000 }
+# same, but for NDS cards
+S: { 0 0 0 0 400 500 }
+
+# my host and password
+M: { my.dyndns.com { 1234ABCD }}
+
+# peers, unlimited number, but only up to 32 unique ports to listen
+# host, port to listen, remote port, password, levels (ignored)
+D: { peer1.dyndns.com { 2471 3471 { ABCD1234 { 9 9 }}}}
+D: { peer2.dyndns.com { 2471 3471 { 6789ABCD { 9 9 }}}}
+
+# ignore ids
+Y: { 01 02 }
+Y: { 02 03 }
+
+# always save ids, caid-id + id
+G: { 05023B00 1234 }
+G: { 01000065 5678 }
+
+# virtual cards
+V: { 01 { 05 00 7C 00 }}
+V: { 02 { 18 01 04 01 }}
+V: { 02 { 18 01 05 01 }}
+V: { 03 { 18 01 40 01 }}
+V: { 03 { 18 01 41 01 }}
Index: /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/priority.list
===================================================================
--- /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/priority.list	(revision 5427)
+++ /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/priority.list	(revision 5427)
@@ -0,0 +1,2 @@
+# for ORF Austria FIX
+X: { 0d 05 }
Index: /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/replace.list
===================================================================
--- /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/replace.list	(revision 5427)
+++ /ipk/source/swapemus_mgcamd_1_35/var/swap/keys/replace.list	(revision 5427)
@@ -0,0 +1,7 @@
+# replace old with new {{ sid } { caid } { provid } { ecmpid } { newcaid } { newprovid } { newecmpid }}
+# multivision 1 example
+# R: {{ 515 } { 500 } { 7C00 } { A0 } { 500 } { 7800 } { A1 }}
+# OR put this ecm on top if new* = 0
+# R: {{ 515 } { 500 } { 7800 } { A1 } { 0 } { 0 } { 0 }}
+# replace old caid > newcaid example
+# X: {{ 624 } { 604 }}
Index: /ipk/source/swapemus_vizcam_1_10/CONTROL/postinst
===================================================================
--- /ipk/source/swapemus_vizcam_1_10/CONTROL/postinst	(revision 5426)
+++ /ipk/source/swapemus_vizcam_1_10/CONTROL/postinst	(revision 5427)
@@ -8,4 +8,8 @@
 echo "Make Symlinks......."
 ln -s /var/swap/bin/vizcam_1.10 /var/bin/vizcam_1.10
+ln -s /var/swap/keys/vizcam.conf /var/keys/vizcam.conf
+ln -s /var/swap/keys/vizcam.dvbapi /var/keys/vizcam.dvbapi
+ln -s /var/swap/keys/vizcam.provid /var/keys/vizcam.provid
+ln -s /var/swap/keys/vizcam.srvid /var/keys/vizcam.srvid
 
 
