- Timestamp:
- Sep 28, 2010, 3:04:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dyndns/dyndns.sh
r188 r189 78 78 OLDIP=`awk -v linenr=$LINENR 'NR==linenr {print $5}' $TMPFILE` 79 79 if [ "$OLDIP" = "$REMOTEIP" ]; then 80 echo "No changes "80 echo "No changes ($HOSTNAME.$ZONE IN A $REMOTEIP)" 81 81 exit 0 82 82 fi … … 111 111 cp $TMPFILE $ZONEFILE || exit 1 112 112 sudo /usr/sbin/rndc reload || exit 1 113 echo "Entry updated "113 echo "Entry updated ($HOSTNAME.$ZONE IN A $REMOTEIP)"
Note:
See TracChangeset
for help on using the changeset viewer.