]> hackdaworld.org Git - scripts/scripts.git/commitdiff
corrected rehash argument ;)
authorhackbard <hackbard>
Sun, 14 Dec 2003 00:07:46 +0000 (00:07 +0000)
committerhackbard <hackbard>
Sun, 14 Dec 2003 00:07:46 +0000 (00:07 +0000)
unreal_update.sh

index 9b8527ab4330193258e82214bfbc407e553a3f14..e2246a372d99f0ae1a4e8f6c19456d2e9c233fd1 100755 (executable)
@@ -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