🗃️ Committing everything that changed 🗃️

Dockerfile
rootfs/usr/local/bin/echoip
rootfs/usr/local/etc/docker/init.d/zz-echoip.sh
This commit is contained in:
casjay
2024-07-07 14:32:31 -04:00
parent 1473ad4f61
commit 5fd252c017
3 changed files with 8 additions and 6 deletions

View File

@@ -96,8 +96,7 @@ RUN set -ex ; \
BASH_CMD="$(type -P bash)" ; [ -f "$BASH_CMD" ] && rm -rf "/bin/sh" && ln -sf "$BASH_CMD" "/bin/sh"
RUN set -ex ; \
ln -sf /opt/echoip/echoip /usr/local/bin/echoip ; \
ln -sf /opt/echoip/echoip /usr/local/bin/ifconfig ; \
ln -sf /opt/echoip/echoip /opt/echoip/ifconfig ; \
sed -i "s|REPLACE_MODIFIED|$(date +'%Y-%m-%d at %H:%M')|g" /opt/echoip/html/index.html; \
bash -c "/tmp/update-geoip-db.sh"