Added additional container for custom urls
This commit is contained in:
17
customList/init.sh
Normal file
17
customList/init.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
echo "EXTRAURL: $EXTRAURL"
|
||||
|
||||
if [[ -f "$REPOFILE" ]]; then
|
||||
echo "URL file exists"
|
||||
else
|
||||
touch $REPOFILE
|
||||
echo $EXTRAURL | tee $REPOFILE
|
||||
fi
|
||||
|
||||
echo "nameserver $DNSSRV" > /etc/resolv.conf
|
||||
echo "search local" >> /etc/resolv.conf
|
||||
|
||||
exec /usr/sbin/crond -f
|
||||
Reference in New Issue
Block a user