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 df163aa..5457353 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