initial commit of file from CVS for e-smith-dynamicdns-yi on Wed 12 Jul 08:53:31 BST 2023
This commit is contained in:
0
root/etc/e-smith/events/e-smith-dynamicdns-yi-update/.gitignore
vendored
Normal file
0
root/etc/e-smith/events/e-smith-dynamicdns-yi-update/.gitignore
vendored
Normal file
15
root/sbin/e-smith/dynamic-dns/yi
Executable file
15
root/sbin/e-smith/dynamic-dns/yi
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
# Description: www.yi.org (free service)
|
||||
|
||||
#------------------------------------------------------------
|
||||
# Send DNS IP address update to yi.org. Ignore DOMAIN
|
||||
# parameter since yi.org only manages subdomains of yi.org.
|
||||
#------------------------------------------------------------
|
||||
|
||||
IPADDR=$1
|
||||
USERID=$2
|
||||
PASSWD=$3
|
||||
DOMAIN=$4
|
||||
|
||||
DATETIME=`date`
|
||||
lynx -source -auth="$USERID:$PASSWD" "http://www.yi.org/bin/dyndns.fcgi?ipaddr=$IPADDR" | sed -e "s,^,$DATETIME: ," -e "s,<.*\?>,,g"
|
Reference in New Issue
Block a user