From: hackbard Date: Sun, 14 Dec 2003 00:41:51 +0000 (+0000) Subject: reload config via killall -HUP $BINARY X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=e318a0c9b9f56b0b4aef2d5c14a9e22a1843975b;p=scripts%2Fscripts.git reload config via killall -HUP $BINARY --- diff --git a/unreal_update.sh b/unreal_update.sh index 7fc09c9..876484c 100755 --- a/unreal_update.sh +++ b/unreal_update.sh @@ -13,5 +13,5 @@ NEWIP="`host hackdaworld.dyndns.org | awk '{ print $4 }'`" cat $CONFIGDIR/unrealircd.conf | \ sed "s/.* HDWTAG .*/hostname ::ffff:$NEWIP; \/* HDWTAG *\//" > $CONFIGDIR/temp mv $CONFIGDIR/temp $CONFIGDIR/unrealircd.conf -$BINDIR/$BINARY rehash +killall -HUP $BINARY