diff --git a/lp-ddns.deb b/lp-ddns.deb new file mode 100644 index 0000000..08eeba9 Binary files /dev/null and b/lp-ddns.deb differ diff --git a/lp-ddns/usr/local/bin/lp-ddns b/lp-ddns/usr/local/bin/lp-ddns index 9bbf0bb..e7d50b0 100755 --- a/lp-ddns/usr/local/bin/lp-ddns +++ b/lp-ddns/usr/local/bin/lp-ddns @@ -1,6 +1,17 @@ #!/bin/bash set -e + +# Comment this if you want to use this script standalone: . /etc/lp-dyndns/settings.conf + +# Uncomment if you want to use this script standalone: +#RECORDID= +#PASSWORD= +#DOMAIN= + + +# Do not touch this, unless you want to touch this :) + IP="$(curl --connect-timeout 10 -s ipv4.is || curl --connect-timeout 10 -s ipv4.is)" #IP="$(curl --config /etc/lp-dyndns/curlrc)" CURRENTIP="$(dig ${DOMAIN} +short)"