1
0

Almost inital push

This commit is contained in:
tobbenb
2016-08-21 15:10:54 +02:00
parent 416cb5f268
commit f16f611ab3
6 changed files with 168 additions and 0 deletions

12
root/defaults/oscam.conf Normal file
View 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

View 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

View File

@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bash
exec \
s6-setuidgid abc /usr/bin/oscam -c /config/oscam

View File

@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bash
exec \
s6-setuidgid root /usr/sbin/pcscd -f