Added additional container for custom urls

This commit is contained in:
2025-07-25 12:44:03 +02:00
parent d2838646b3
commit 56ac33b666
11 changed files with 399 additions and 0 deletions

17
customList/init.sh Normal file
View 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