X-Git-Url: https://hackdaworld.org/gitweb/?p=scripts%2Fscripts.git;a=blobdiff_plain;f=unreal_update.sh;h=df163aa68d3de49f2136f6872bfabd4f2fcee54c;hp=5c536f28b76a77773dfd2d363a2aa80d57ac4a2e;hb=17b18b5000575bb09f8007fb031dce27c6b74db4;hpb=5d58c53b68e588aef8672d156052195db39c903b diff --git a/unreal_update.sh b/unreal_update.sh index 5c536f2..df163aa 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 *\//" > $CONFDIR/temp + sed "s/.* HDWTAG .*/hostname $NEWIP \/* HDWTAG *\//" > $CONFIGDIR/temp mv $CONFIGDIR/temp $CONFIGDIR/unrealircd.conf $BINDIR/$BINARY rehash