Dies ist eine mobil optimierte Seite, die schnell lädt. Wenn Sie die Seite ohne Optimierung laden möchten, dann klicken Sie auf diesen Text.

Problema Raspberry e oscam -p512

    Nobody is reading this thread right now.

agnagna

Newbie
Registriert
7. März 2013
Beiträge
22
Reaktionspunkte
0
Punkte
21
Ort
Cuba
Ciao,
eseguendo il comando: ps aux|grep oscam
ottengo:
root 29616 0.0 0.3 3144 1320 ? Ss 18:19 0:00 /var/emu/oscam/oscam.armel -b -c /var/etc -t /tmp/.oscam
root 29618 1.8 1.0 8524 4096 ? S<l 18:19 0:12 /var/emu/oscam/oscam.armel -b -c /var/etc -t /tmp/.oscam
root 30581 0.0 0.2 3544 808 pts/0 S+ 18:31 0:00 grep oscam

Il problema è che impongo il parametro -p512 (ultima guida x fake cw) ma a quanto pare non lo prende.
Lo script di avvio è:
#! /bin/sh
### BEGIN INIT INFO
# Provides: Oscam
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Oscam init script
# Description: Launch oscam at startup
### END INIT INFO

DAEMON=/usr/local/bin/oscam
DEAMON_OPTS="-p512 -bc /var/etc/"
PIDFILE=/var/run/oscam.pid

test -x ${DAEMON} || exit 0

. /lib/lsb/init-functions

case "$1" in
start)
log_daemon_msg "Starting OScam"
start-stop-daemon --start --quiet --background --pidfile ${PIDFILE} --make-pidfile --exec ${DAEMON} -- ${DAEMON_OPTS}
log_end_msg $?
;;
stop)
log_daemon_msg "Stopping OScam"
start-stop-daemon --stop --exec ${DAEMON}
log_end_msg $?
;;
force-reload|restart)
$0 stop
$0 start
;;
*)
echo "Usage: /etc/init.d/oscam {start|stop|restart|force-reload}"
exit 1
;;
esac

exit 0

Qualcuno può aiutarmi?
Inoltre, come posso riavviare oscam ogni 2/3 ore (per esempio)?
Tnx.
 
AW: Raspberry e oscam -p512

metti script oscam check
viene controllata ogni tot minuti se e bloccata la riavvia in automatico
 
AW: Raspberry e oscam -p512

e' possibile avere uno script che forza il riavvio di oscam ogni 1/2 ore?
tnx.
 
Für die Nutzung dieser Website sind Cookies erforderlich. Du musst diese akzeptieren, um die Website weiter nutzen zu können. Erfahre mehr…