View Full Version : Oscam
AM nevoie si de ajutor in isntalarea manuala a oscam-ului pe blackhole.
Multumesc
Ai cautat pe forum? (http://sateliti.info/showthread.php/21970-Instalare-manuala-emu-si-camscript?highlight=emu+manual)
Cine imi da un backup pentru card digi 1802 oscam/cccam?
#!/bin/sh
########################################
###### Powered by Vu+ Image Team ######
## http://www.vuplus-support.org ##
########################################
CAMNAME="OScam"
remove_tmp () {
rm -rf /tmp/cainfo.* /tmp/camd.* /tmp/sc.* /tmp/*.info* /tmp/*.tmp* /tmp/oscam*
[ -e /tmp/.oscam ] && rm -rf /tmp/.oscam
[ -e /tmp/.emu.info ] && rm -rf /tmp/.emu.info
[ -e /tmp/oscam.mem ] && rm -rf /tmp/oscam.mem
}
case "$1" in
start)
echo "[SCRIPT] $1: $CAMNAME"
remove_tmp
touch /tmp/.emu.info
echo OScam > /tmp/.emu.info
/usr/bin/OScam -b /etc/tuxbox/config
;;
stop)
echo "[SCRIPT] $1: $CAMNAME"
kill `pidof OScam`
remove_tmp
;;
restart)
$0 stop
sleep 2
$0 start
exit
;;
*)
$0 stop
exit 0
;;
esac
exit 0
Se da script-ul asta pt VTI.
Uneori la restart sau la crash Oscam-ul dureaza aproape 5 10 min sa porneasca.
Restartul din panel nu functioneaza.
Unde este gresit scriptul?
/usr/bin/OScam -b /etc/tuxbox/config
/usr/bin/OScam -b -c /etc/tuxbox/config
...la prima vedere... la mine arata asa:
#!/bin/sh########################################
###### Powered by Vu+ Image Team ######
## http://www.vuplus-support.org ##
########################################
CAMNAME="OScam"
remove_tmp () {
rm -rf /tmp/cainfo.* /tmp/camd.* /tmp/sc.* /tmp/*.info* /tmp/*.tmp* /tmp/oscam*
[ -e /tmp/.oscam ] && rm -rf /tmp/.oscam
[ -e /tmp/.emu.info ] && rm -rf /tmp/.emu.info
[ -e /tmp/oscam.mem ] && rm -rf /tmp/oscam.mem
}
case "$1" in
start)
echo "[SCRIPT] $1: $CAMNAME"
remove_tmp
touch /tmp/.emu.info
echo OScam > /tmp/.emu.info
/usr/bin/oscam -b -r 2 -c /etc/tuxbox/config
;;
stop)
echo "[SCRIPT] $1: $CAMNAME"
kill `pidof oscam`
remove_tmp
;;
restart)
$0 stop
sleep 2
$0 start
exit
;;
*)
$0 stop
exit 0
;;
esac
exit 0
Multam.L-am modificat asa sa vad daca e la fel.
Nu merge..dupa restart nu-l ia din prima..Dureaza 2-5 min sa porneasca desi el ruleaza..
Oscamul nu "deschide" pana nu ai time mai mare decat data la care a fost el compilat.
Pune imaginea sa ia NTP la start.
compileaza unu cu "clock fix"...sau spune-mi ce optiuni vrei si ti-l compilez eu..
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.