1
0
Files
docker-oscam/root/etc/cont-init.d/30-config
2016-09-25 22:29:59 +01:00

14 lines
221 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/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