]> hackdaworld.org Git - scripts/scripts.git/commitdiff
ipv6 changes
authorhackbard <hackbard>
Sun, 14 Dec 2003 00:23:38 +0000 (00:23 +0000)
committerhackbard <hackbard>
Sun, 14 Dec 2003 00:23:38 +0000 (00:23 +0000)
unreal_update.sh

index df163aa68d3de49f2136f6872bfabd4f2fcee54c..54573532ba9b7e36f6138bcaaa43621cbf88f238 100755 (executable)
@@ -11,7 +11,7 @@ NEWIP="`host hackdaworld.dyndns.org | awk '{ print $4 }'`"
 
 # HDWTAG dirty ... but easy :)
 cat $CONFIGDIR/unrealircd.conf | \
- sed "s/.* HDWTAG .*/hostname $NEWIP \/* HDWTAG *\//" > $CONFIGDIR/temp
+ sed "s/.* HDWTAG .*/hostname ::ffff:$NEWIP \/* HDWTAG *\//" > $CONFIGDIR/temp
 mv $CONFIGDIR/temp $CONFIGDIR/unrealircd.conf
 $BINDIR/$BINARY rehash