OSCam/it/scripts/Dreambox
OSCam Übersicht
OSCam Home
OSCam Accueil
OSCam Home
Attenzione: Il contenuto della traduzione in italiano e parzialmente in tedesco. Registrati e aiutaci a complementare e tradurre!
Inhaltsverzeichnis
Dreambox
Dreambox (mipsel) mit newnigma-Image
- Binary "oscam" nach "/usr/bin/" kopieren und 755 chmoden.
- "oscam.emu" nach "/usr/script/" kopieren und 755 chmoden.
- Configs nach "/var/keys" (Symlink auf /usr/keys) kopieren.
- SoftCAM "oscam" über das Menü auswählen.
<syntaxhighlight lang="bash">
- Powered by NewNigma2 Team ######
- http://newngima2.to ###
EMUNAME="OScam"
remove_tmp () {
[ -e /tmp/ecm.info ] && rm -rf /tmp/ecm.info [ -e /tmp/ecm0.info ] && rm -rf /tmp/ecm0.info [ -e /tmp/ecm1.info ] && rm -rf /tmp/ecm1.info [ -e /tmp/.oscam ] && rm -rf /tmp/.oscam [ -e /tmp/oscam.log ] && rm -rf /tmp/oscam.log [ -e /tmp/oscam.kill ] && rm -rf /tmp/oscam.kill [ -e /tmp/oscamuser.log ] && rm -rf /tmp/oscamuser.log
}
case "$1" in
start) echo "[SCRIPT] $1: $EMUNAME" if [ -f /usr/keys/oscam.conf ]; then /usr/bin/oscam -c /usr/keys >/dev/null & else /usr/bin/oscam -c /etc/tuxbox/config >/dev/null & fi ;; stop) echo "[SCRIPT] $1: $EMUNAME" echo -n "kill " > /tmp/oscam.kill pidof oscam >> /tmp/oscam.kill echo sleep 1s >> /tmp/oscam.kill echo -n "kill -9 " >> /tmp/oscam.kill pidof oscam >> /tmp/oscam.kill chmod 755 /tmp/oscam.kill /tmp/oscam.kill sleep 2 remove_tmp ;; restart) $0 stop sleep 1 $0 start exit 1 ;; *) $0 stop exit 1 ;;
esac exit 0 </syntaxhighlight>
Dreambox mit Gemini(IHAD)-Image (thx 2 pin1)
- Binary "oscam" nach "/usr/bin/" kopieren und 755 chmoden.
- "oscam_cam.sh" nach "/usr/script/" kopieren und 755 chmoden.
- Configs nach "/var/keys" (Symlink auf /usr/keys) kopieren.
- SoftCAM "oscam" über das Menü auswählen.
oscam_cam.sh
<syntaxhighlight lang="bash">
- !/bin/sh
CAMD_ID=1793 CAMD_NAME="OSCam" CAMD_BIN=oscam
INFOFILE_A=ecm0.info INFOFILE_B=ecm1.info INFOFILE_C=ecm2.info INFOFILE_D=ecm3.info
- Expert window
INFOFILE_LINES=1111111111000000
- Zapp after start
REZAPP=0
logger $0 $1 echo $0 $1
remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp*
}
case "$1" in
start) remove_tmp /usr/bin/$CAMD_BIN -c /var/keys & ;; stop) killall -9 $CAMD_BIN 2>/dev/null sleep 2 remove_tmp ;; *) $0 stop exit 0 ;;
esac exit 0 </syntaxhighlight>
Diese Seite in anderen Sprachen - This page in other languages - Cette page dans d'autres langues - Queste pagine in altre Lingue
[[OSCam/de/{{#titleparts:OSCam/it/scripts/Dreambox|3|3}}|Deutsch]]
[[OSCam/en/{{#titleparts:OSCam/it/scripts/Dreambox|3|3}}|English]]
[[OSCam/fr/{{#titleparts:OSCam/it/scripts/Dreambox|3|3}}|Français]]
[[OSCam/it/{{#titleparts:OSCam/it/scripts/Dreambox|3|3}}|Italiano]]