]> hackdaworld.org Git - scripts/scripts.git/commitdiff
reload config via killall -HUP $BINARY
authorhackbard <hackbard>
Sun, 14 Dec 2003 00:41:51 +0000 (00:41 +0000)
committerhackbard <hackbard>
Sun, 14 Dec 2003 00:41:51 +0000 (00:41 +0000)
unreal_update.sh

index 7fc09c91b1fb7d7167f1f10f590955214326e970..876484ccae316e8c706ff90ba4c7f3f1cdece760 100755 (executable)
@@ -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