# to update ip of hackdaworld.dyndns.org in unrealircd.conf
CONFIGDIR="/etc/opt/unrealircd"
-BINDIR="/opt/unrealircd"
+BINDIR="/opt/unrealircd/bin"
BINARY="ircd"
cat $CONFIGDIR/unrealircd.conf | \
sed "s/.* HDWTAG .*/hostname $NEWIP \/* HDWTAG *\//" > $CONFDIR/temp
mv $CONFDIR/temp $CONFIGDIR/unrealircd.conf
-$BINDIR/$BINARY -rehash
+$BINDIR/$BINARY rehash