#!/bin/sh echo 'nameserver 127.3.2.1' > /etc/resolv.conf nohup /lokinet/build/daemon/lokinet & address="" if [ -e data/address.txt ]; then address=`cat data/address.txt` else sleep 90s address=`curl -s http://probably.loki/echo.sh` echo "$address" > data/address.txt fi echo "Here is your address: $address" ./caddy run --config ./data/Caddyfile