diff --git a/nsupdate.sh b/nsupdate.sh deleted file mode 100755 index 5fe991f..0000000 --- a/nsupdate.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -# Registers the local IPv6 address to the DNS - -IP6="`whatsmyip6`" -KNOT="${KNOT:-${IP6}}" - -test -z "${IP6}" && exit 1 -test -z "${KNOT}" && exit 1 -test -z "${DOMAIN}" && exit 1 - -# Add a dot if the hostname contains the domain -echo "${HOSTNAME}" | grep -q "\.${DOMAIN}$" && DOT="." - -knsupdate <