Commit df058bf6 authored by nanahira's avatar nanahira

allow manual specify address

parent 73749b2c
Pipeline #14384 passed with stages
in 2 minutes and 50 seconds
#!/bin/bash
export ADDRESS=$(dig whoami.cloudflare ch txt @1.0.0.1 +short | sed 's/\"//g')
if [[ -z "$ADDRESS"]]; then
export ADDRESS=$(dig whoami.cloudflare ch txt @1.0.0.1 +short | sed 's/\"//g')
fi
exec "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment