oscam and cccam startup script problem
#1
Posted 30 October 2011 - 09:56
i would like to use oscam and cccam as a combo option on latest pli 2.1.
everytime i reboot my box i cant get them to work, the only way to get them working is to stop them both manually and restart them oscam first as a card server and cccam as a softcam. they start working but still i cannot access webinterfaces from my pc.
i think there is something wrong with the startup scripts of oscam and cccam inside pli... i installed them both from addons menu in pli.
i might be wrong but it seems that they are both starting or trying to start at the same time ??
there's nothing wrong with my config files as i have no problems with the same setup on latest blackhole image: they start as they they should: oscam starts first and cccam after..
im not very good with creating scripts, so can someone please help me and post here a working script so i can just go and replace it via ftp..
also there are 2 scripst created for each of them, oscam and cccam, which one do i replace/edit ?
cheers
Re: oscam and cccam startup script problem #2
Posted 30 October 2011 - 11:19
#!/bin/sh
case "$1" in
start)
exec start-stop-daemon -S -x /var/bin/oscam &
sleep 2
exec start-stop-daemon -S -x /usr/bin/CCcam
;;
stop)
exec start-stop-daemon -K -x /var/bin/oscam &
sleep 1
exec start-stop-daemon -K -R 2 -x /usr/bin/CCcam
;;
restart|reload)
$0 stop
echo "restart oscam"
sleep 1
$0 start
;;
version)
echo "webif sh4"
;;
info)
echo "oscam"
;;
*)
echo "Usage: $0 start|stop|restart"
exit 1
;;
esac
exit 0
Re: oscam and cccam startup script problem #3
Re: oscam and cccam startup script problem #4
Re: oscam and cccam startup script problem #5
Re: oscam and cccam startup script problem #6
Re: oscam and cccam startup script problem #7
Re: oscam and cccam startup script problem #8
Re: oscam and cccam startup script problem #9
Posted 11 December 2016 - 07:08
Re: oscam and cccam startup script problem #10
Posted 11 December 2016 - 13:54
This is a non-sense to run both softcam at the same time, OScam does it all by itself.
If you think that some features are missing in OScam compared to CCcam and mgcamd please report them on streamboard and I am quite sure that a solution already exists in OScam.
NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.
Wanna help with OpenPLi Translation? Please read our Wiki Information for translators
Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)
AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users