hola alguien puede poner un script para que arranque oscam 1.10 a secas? es decir sin cccam ni nada, solo oscam 1.10??
el scrit que tengo yo no abre oscam y me obliga a hacerlo por telnet
pego el que tengo que no me arranca
gracias
CAMD_ID=1798
CAMD_NAME="OSCam 1.10"
CAMD_BIN=Oscam_1.10
INFOFILE_A=ecm.info
INFOFILE_B=ecm1.info
INFOFILE_C=ecm2.info
INFOFILE_D=ecm3.info
#Expert window
INFOFILE_LINES=1111111111000000
#Zapp after start
REZAPP=0
########################################
OSD="Oscam_1.10"
PID=`pidof Oscam_1.10`
Action=$1
cam_clean () {
rm -rf /tmp/*.info* /tmp/*.tmp*
}
cam_handle () {
if test -z "${PID}" ; then
cam_up;
else
cam_down;
fi;
}
cam_down () {
killall Oscam_1.10
sleep 2
cam_clean
}
cam_up () {
/usr/bin/Oscam_1.10 -c /etc/tuxbox/config &
}
if test "$Action" = "cam_res" ; then
cam_down
cam_up
elif test "$Action" = "cam_down" ; then
cam_down
elif test "$Action" = "cam_up" ; then
cam_up
else
cam_handle
fi
exit 0
el scrit que tengo yo no abre oscam y me obliga a hacerlo por telnet
pego el que tengo que no me arranca
gracias
CAMD_ID=1798
CAMD_NAME="OSCam 1.10"
CAMD_BIN=Oscam_1.10
INFOFILE_A=ecm.info
INFOFILE_B=ecm1.info
INFOFILE_C=ecm2.info
INFOFILE_D=ecm3.info
#Expert window
INFOFILE_LINES=1111111111000000
#Zapp after start
REZAPP=0
########################################
OSD="Oscam_1.10"
PID=`pidof Oscam_1.10`
Action=$1
cam_clean () {
rm -rf /tmp/*.info* /tmp/*.tmp*
}
cam_handle () {
if test -z "${PID}" ; then
cam_up;
else
cam_down;
fi;
}
cam_down () {
killall Oscam_1.10
sleep 2
cam_clean
}
cam_up () {
/usr/bin/Oscam_1.10 -c /etc/tuxbox/config &
}
if test "$Action" = "cam_res" ; then
cam_down
cam_up
elif test "$Action" = "cam_down" ; then
cam_down
elif test "$Action" = "cam_up" ; then
cam_up
else
cam_handle
fi
exit 0