Slight modification
This commit is contained in:
parent
0ab371e535
commit
6f03ba3283
2 changed files with 11 additions and 0 deletions
BIN
lp-ddns.deb
Normal file
BIN
lp-ddns.deb
Normal file
Binary file not shown.
|
|
@ -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)"
|
||||
|
|
|
|||
Loading…
Reference in a new issue