Bine ati venit pe RoIrc.ro

cd ~

if [ -d $HOME/.muh ] ; then

echo -e "${RED}Apare ca ai un muh instalat${RESET}"

echo -e "${RED}Vrei sa-l stergi ? ${RESET}"

echo -e "${RED}Yes s-au No ${RESET}"

read ans

case $ans in

[Yy]|[Yy][Ee]|[Yy][Ee][Ss])

killall muh

rm -rf $HOME/.muh ;;

*)

exit 0 ;;

esac

fi

cd $HOME/muhx

chmod 777 configure

./configure && make && make install

cd $HOME

mkdir .muh

cd $HOME/.muh/

echo -e " ${GREEN}http://Tutoriale.RoIrc.ro/${RESET}"

echo -e " ${RED}CONFIGURATION FILE${RESET}"

echo ''

echo '********* REQUIRED SETTINGS *********'

echo '*** Numele tau pe irc:'

read nickname

echo '*** Alt nume in caz ca asta e ocupat:'

read altnickname

echo '*** Pune un realname:'

read realname

echo '*** Pune un ident:'

read username

echo '*** Un host in cazu in care ai 1:'

read listenhost

echo '*** Pune un ip in cazu in care nu ai host (vhost):'

read bind

echo '*** Scrie portu pe care sa se conecteze:'

read listenport

echo '*** Parola ca se te conectezi la muh:'

read password

echo '*************************************'

echo '********* Setari Optionale *********'

echo '*************************************'

echo '*** Scrie un canal pe care sa intre muhu:'

echo ' ex1: #romania'

echo ' ex2: #romania,#RoIrc'

read channels

echo '***** Configurarea muhului este .......completa!'

echo 'nickname = "'$nickname'";' >> muhrc

echo 'altnickname = "'$altnickname'";' >> muhrc

echo 'realname = "'$realname'";' >> muhrc

echo 'username = "'$username'";' >> muhrc

echo 'listenhost = "'$listenhost'";' >> muhrc

echo 'listenport = '$listenport';' >> muhrc

echo 'password = "'$password'";' >> muhrc

echo 'servers {' >> muhrc

echo '"bucharest.ro.eu.undernet.org",' >> muhrc

echo '"budapest.hu.eu.undernet.org",' >> muhrc

echo '"tampa.fl.us.undernet.org",' >> muhrc

echo '"mesa.az.us.undernet.org",' >> muhrc

echo '"hollywood.ca.us.undernet.org",' >> muhrc

echo '"losangeles.ca.us.undernet.org",' >> muhrc

echo '"eu.undernet.org",' >> muhrc

echo '"us.undernet.org",' >> muhrc

echo '"irc.undernet.org":6667:""' >> muhrc

echo '};' >> muhrc

echo 'channels = "'$channels'";' >> muhrc

echo 'bind = "'$bind'";' >> muhrc

echo 'umodes = "+ix";' >> muhrc

echo 'leave = false;' >> muhrc

echo 'getnick = true;' >> muhrc

echo 'nevergiveup = true;' >> muhrc

echo 'rejoin = true;' >> muhrc

cd $HOME

cd muhx/src

./muh

echo -e "${RED}Multumim ca ati folosit instalarea automata ${RESET}"

echo -e "[${GREEN}+${RESET}] muh installation .... ${GREEN}Complete!${RESET}"

echo -e "[${GREEN}+${RESET}] muh Configuration ... ${GREEN}Complete!${RESET}"

echo -e "[${GREEN}+${RESET}] muh Started ......... ${GREEN}Success!${RESET}"

echo -e ""

echo -e "${BOLD}muh Information:"

echo -e " Server: $listenhost"

echo -e " Port: $listenport"

echo -e "${RESET}"

echo -e "To connect use:"

echo -e " /identd on ${GREEN}$username${RESET}"

echo -e " /server ${GREEN}$listenhost:$listenport $password${RESET}"

cd ~

Daca este ceva ce nu intelegeti ma puteti gasi pe forum s`au pe blog