knot is always at knot.doma.in
This commit is contained in:
parent
8c2c4aa4d8
commit
ed9e013135
1 changed files with 1 additions and 2 deletions
|
@ -3,10 +3,9 @@
|
||||||
# Registers the local IPv6 address to the DNS
|
# Registers the local IPv6 address to the DNS
|
||||||
|
|
||||||
IP6="`whatsmyip6`"
|
IP6="`whatsmyip6`"
|
||||||
KNOT="${KNOT:-${IP6}}"
|
KNOT="${KNOT:-knot.${DOMAIN}}"
|
||||||
|
|
||||||
test -z "${IP6}" && exit 1
|
test -z "${IP6}" && exit 1
|
||||||
test -z "${KNOT}" && exit 1
|
|
||||||
test -z "${DOMAIN}" && exit 1
|
test -z "${DOMAIN}" && exit 1
|
||||||
|
|
||||||
# Add a dot if the hostname contains the domain
|
# Add a dot if the hostname contains the domain
|
||||||
|
|
Loading…
Reference in a new issue