Changeset 189


Ignore:
Timestamp:
Sep 28, 2010, 3:04:11 PM (14 years ago)
Author:
Rick van der Zwet
Message:

Converted it into a What is my IP thingy as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dyndns/dyndns.sh

    r188 r189  
    7878OLDIP=`awk -v linenr=$LINENR 'NR==linenr {print $5}' $TMPFILE`
    7979if [ "$OLDIP" = "$REMOTEIP" ]; then
    80   echo "No changes"
     80  echo "No changes ($HOSTNAME.$ZONE IN A $REMOTEIP)"
    8181  exit 0
    8282fi
     
    111111cp  $TMPFILE $ZONEFILE || exit 1
    112112sudo /usr/sbin/rndc reload || exit 1
    113 echo "Entry updated"
     113echo "Entry updated ($HOSTNAME.$ZONE IN A $REMOTEIP)"
Note: See TracChangeset for help on using the changeset viewer.