From: hackbard Date: Sun, 14 Dec 2003 00:23:38 +0000 (+0000) Subject: ipv6 changes X-Git-Url: https://hackdaworld.org/gitweb/?p=scripts%2Fscripts.git;a=commitdiff_plain;h=b46077f8873d4f324aff6b060b3ba1a12a1ba84a ipv6 changes --- diff --git a/unreal_update.sh b/unreal_update.sh index df163aa..5457353 100755 --- a/unreal_update.sh +++ b/unreal_update.sh @@ -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