X-Git-Url: https://hackdaworld.org/gitweb/?p=scripts%2Fscripts.git;a=blobdiff_plain;f=unreal_update.sh;h=5c536f28b76a77773dfd2d363a2aa80d57ac4a2e;hp=e2246a372d99f0ae1a4e8f6c19456d2e9c233fd1;hb=5d58c53b68e588aef8672d156052195db39c903b;hpb=b8cbc8dc07a49719f01881f64ec8b4a5fb11f66c diff --git a/unreal_update.sh b/unreal_update.sh index e2246a3..5c536f2 100755 --- a/unreal_update.sh +++ b/unreal_update.sh @@ -12,6 +12,6 @@ NEWIP="`host hackdaworld.dyndns.org | awk '{ print $4 }'`" # HDWTAG dirty ... but easy :) cat $CONFIGDIR/unrealircd.conf | \ sed "s/.* HDWTAG .*/hostname $NEWIP \/* HDWTAG *\//" > $CONFDIR/temp -mv $CONFDIR/temp $CONFIGDIR/unrealircd.conf +mv $CONFIGDIR/temp $CONFIGDIR/unrealircd.conf $BINDIR/$BINARY rehash