if [ "$IRCD" = 2 ] then clear echo "Starting IRCu Installation." sleep 3 clear echo "Downloading IRCu." cd ~/ fetch http://www.shelldriven.net/downloads/ircu2.10.12.09.tar.gz echo "Download Complete." sleep 2 clear echo "Extracting Files." tar xzf ircu2.10.12.09.tar.gz echo "Extract Done." sleep 2 clear echo "Beginning Interactive Configuration" sleep 2 clear PATH="$HOME/ircd" TEST="$PATH" echo "What is the path you want for the install?" echo "[$TEST] -> $c" read cc if [ -z $cc ] ; then PATH=$TEST else PATH=`eval echo $cc` fi clear echo "How many connections can you use?" echo "[no default] -> " read MAXCON clear echo "End of interactive configuration." sleep 2 clear echo "Starting Non Interactive Configuration." sleep 2 cd $HOME/ircu2.10.12.09/ ./configure --prefix=\"$PATH\" --with-maxcon=MAXCON echo "Configuration Complete." sleep 2 clear echo "Starting Build and Install." make make install echo "Installation Complete." echo "Make sure to update your ircd.conf" echo "Now returning you to the main menu" sleep 4 menu fi