Almost inital push
This commit is contained in:
12
root/defaults/oscam.conf
Normal file
12
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
|
9
root/etc/cont-init.d/30-config
Normal file
9
root/etc/cont-init.d/30-config
Normal file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# Check if /config/oscam/oscam.conf exists
|
||||
[[ ! -e /config/oscam/oscam.conf ]] && \
|
||||
(mkdir -p /config/oscam && cp /defaults/oscam.conf /config/oscam/oscam.conf)
|
||||
|
||||
# permissions
|
||||
chown -R abc:abc \
|
||||
/config
|
3
root/etc/services.d/oscam/run
Normal file
3
root/etc/services.d/oscam/run
Normal file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
exec \
|
||||
s6-setuidgid abc /usr/bin/oscam -c /config/oscam
|
3
root/etc/services.d/pcscd/run
Normal file
3
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