Help. Restarting cam on openatv image from ssh or script ?

rowl3y

Member ++
Joined
Mar 14, 2006
Messages
76
Reaction score
25
Hi, Can anyone help me here, Is there away I can restart the softcam on a openatv image running mgcamd or cccam with ssh or script ..

I have tried this .. but get error's

[email protected]:~# /etc/init.d/softcam restart
-sh: /etc/init.d/softcam: No such file or directory

Thanks
 

Mick

Administrator
Staff member
Administrator
Premium Member
Joined
Jan 19, 1999
Messages
31,985
Reaction score
8,460
try

find /softcam

or

locate /softcam

your error is saying that the file or directory that the file is located in does not exist.

Also try

cd /etc/init.d/

if that exists then type

dir

and see what files are in there...

do all this in SSH
 

jfish

VIP Member
VIP Member
Joined
Sep 21, 2007
Messages
2,891
Reaction score
505
best way is to find the pid of the softcam, kill it then restart it

when I get time later on will write the script and post it here
 

rowl3y

Member ++
Joined
Mar 14, 2006
Messages
76
Reaction score
25
kill it ? how do I do that, if you could put a script together will be perfect thanks :)
 
TEST
Top