I can start manually by /usr/local/bin/oscam, but when I try with a startup script, I blagged doff the internet, as per below. It does not work. I no not even get anything in the log. I do not even know where to start looking…
The script you show is a sysvinit start/stop script. It should go in /etc/init.d and have appropriate links in the correct places in the /etc/rc.d tree.
Putting it in /etc/init.d you might be able to find it in YaST> ? System > Services Manager. There you could configure in what run levels it should run and then start it and see that it is started when that runlevel is reached.
BUT, openSUSE 13.2 does not use sysvinit any more, it uses systemd. Nevertheless installing it the old way might work because systemd is compatible to some degree with sysvinit.
In any case it would be better to create systemd files for this.
Great! Thanks Malcolm! Why did I not think of that? That script will serve as a learning experience also. The trouble with oscam is the same as with tvheadend. The pre-built binaries rarely work for your config.
Anyway. Running now:
tvburk:/home/dalton/Downloads # /etc/init.d/oscam status
Checking for service OSCAM running
oscam.service - LSB: OSCAM server
Loaded: loaded (/etc/init.d/oscam)
Active: active (running) since Tue 2015-12-15 20:49:34 EET; 3s ago
Process: 30310 ExecStop=/etc/init.d/oscam stop (code=exited, status=0/SUCCESS)
Process: 30330 ExecStart=/etc/init.d/oscam start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/oscam.service
├─30337 /usr/local/bin/oscam
└─30338 /usr/local/bin/oscam
And happily decrypting content. All I had to do was to change the path to /usr/local/bin.