X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=unreal_update.sh;h=876484ccae316e8c706ff90ba4c7f3f1cdece760;hb=e318a0c9b9f56b0b4aef2d5c14a9e22a1843975b;hp=54573532ba9b7e36f6138bcaaa43621cbf88f238;hpb=b46077f8873d4f324aff6b060b3ba1a12a1ba84a;p=scripts%2Fscripts.git diff --git a/unreal_update.sh b/unreal_update.sh index 5457353..876484c 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 ::ffff:$NEWIP \/* HDWTAG *\//" > $CONFIGDIR/temp + sed "s/.* HDWTAG .*/hostname ::ffff:$NEWIP; \/* HDWTAG *\//" > $CONFIGDIR/temp mv $CONFIGDIR/temp $CONFIGDIR/unrealircd.conf -$BINDIR/$BINARY rehash +killall -HUP $BINARY