From b8cbc8dc07a49719f01881f64ec8b4a5fb11f66c Mon Sep 17 00:00:00 2001 From: hackbard Date: Sun, 14 Dec 2003 00:07:46 +0000 Subject: [PATCH] corrected rehash argument ;) --- unreal_update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unreal_update.sh b/unreal_update.sh index 9b8527a..e2246a3 100755 --- a/unreal_update.sh +++ b/unreal_update.sh @@ -3,7 +3,7 @@ # to update ip of hackdaworld.dyndns.org in unrealircd.conf CONFIGDIR="/etc/opt/unrealircd" -BINDIR="/opt/unrealircd" +BINDIR="/opt/unrealircd/bin" BINARY="ircd" @@ -13,5 +13,5 @@ NEWIP="`host hackdaworld.dyndns.org | awk '{ print $4 }'`" cat $CONFIGDIR/unrealircd.conf | \ sed "s/.* HDWTAG .*/hostname $NEWIP \/* HDWTAG *\//" > $CONFDIR/temp mv $CONFDIR/temp $CONFIGDIR/unrealircd.conf -$BINDIR/$BINARY -rehash +$BINDIR/$BINARY rehash -- 2.39.2