initial commit of file from CVS for e-smith-dynamicdns-tzo on Wed 12 Jul 08:53:04 BST 2023
This commit is contained in:
0
root/etc/e-smith/events/e-smith-dynamicdns-tzo-update/.gitignore
vendored
Normal file
0
root/etc/e-smith/events/e-smith-dynamicdns-tzo-update/.gitignore
vendored
Normal file
15
root/sbin/e-smith/dynamic-dns/tzo
Normal file
15
root/sbin/e-smith/dynamic-dns/tzo
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
# Description: www.tzo.com (commercial service)
|
||||
|
||||
#------------------------------------------------------------
|
||||
# Send DNS IP address update to tzo.com.
|
||||
#------------------------------------------------------------
|
||||
|
||||
IPADDR=$1
|
||||
USERID=$2
|
||||
PASSWD=$3
|
||||
DOMAIN=$4
|
||||
|
||||
DATETIME=`date`
|
||||
lynx -source "http://rh.tzo.com/webclient/rhsignedon.html?TZOName=$DOMAIN&Email=$USERID&TZOKey=$PASSWD&IPAddress=$IPADDR&B1=Sign+On+to+TZO+DDNS+Servers" |\
|
||||
sed -e "s,^,$DATETIME: ," -e "s,<.*\?>,,g"
|
Reference in New Issue
Block a user