Add Oscam
This commit is contained in:
12
oscam/root/defaults/oscam.conf
Normal file
12
oscam/root/defaults/oscam.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
# oscam.conf generated automatically by Streamboard OSCAM 1.20-unstable_svn SVN r11268
|
||||
# Read more: http://www.streamboard.tv/svn/oscam/trunk/Distribution/doc/txt/oscam.conf.txt
|
||||
|
||||
[global]
|
||||
logfile = stdout
|
||||
|
||||
[cache]
|
||||
|
||||
|
||||
[webif]
|
||||
httpport = 8888
|
||||
httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255,10.0.0.0-10.255.255.255,255.255.255.255
|
||||
13
oscam/root/etc/cont-init.d/30-config
Normal file
13
oscam/root/etc/cont-init.d/30-config
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# make folders
|
||||
mkdir -p \
|
||||
/config/oscam
|
||||
|
||||
# copy config
|
||||
#[[ ! -e /config/oscam/oscam.conf ]] && \
|
||||
# cp /defaults/oscam.conf /config/oscam/oscam.conf
|
||||
|
||||
# permissions
|
||||
#chown -R abc:abc \
|
||||
# /config
|
||||
2
oscam/root/etc/services.d/oscam/run
Normal file
2
oscam/root/etc/services.d/oscam/run
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
exec /usr/bin/oscam -c /config/oscam
|
||||
3
oscam/root/etc/services.d/pcscd/run
Normal file
3
oscam/root/etc/services.d/pcscd/run
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
exec \
|
||||
s6-setuidgid root /usr/sbin/pcscd -f
|
||||
Reference in New Issue
Block a user