Better to have the irc instructions on the website than in the readme

This commit is contained in:
Bob Mottram 2016-10-28 12:05:15 +01:00
parent ef2df70462
commit 8a9b19a2aa
1 changed files with 0 additions and 21 deletions

View File

@ -438,27 +438,6 @@ function install_irc_server {
add_watchdog_daemon ngircd
if ! grep -q $"IRC Server" /home/${MY_USERNAME}/README; then
echo '' >> /home/${MY_USERNAME}/README
echo '' >> /home/${MY_USERNAME}/README
echo $'IRC Server' >> /home/${MY_USERNAME}/README
echo '==========' >> /home/${MY_USERNAME}/README
echo $'To connect to your IRC server in irssi:' >> /home/${MY_USERNAME}/README
echo '' >> /home/${MY_USERNAME}/README
if [[ ${ONION_ONLY} != 'yes' ]]; then
echo " irssi" >> /home/${MY_USERNAME}/README
echo " /server add -auto -ssl $DEFAULTDOMAIN $IRC_PORT" >> /home/${MY_USERNAME}/README
echo " /connect $DEFAULT_DOMAIN_NAME" >> /home/${MY_USERNAME}/README
else
echo " usetorwith irssi" >> /home/${MY_USERNAME}/README
echo " /server add -auto $IRC_ONION_HOSTNAME $IRC_PORT" >> /home/${MY_USERNAME}/README
echo " /connect $IRC_ONION_HOSTNAME" >> /home/${MY_USERNAME}/README
fi
echo " /join #${PROJECT_NAME}" >> /home/${MY_USERNAME}/README
chown ${MY_USERNAME}:${MY_USERNAME} /home/${MY_USERNAME}/README
chmod 600 /home/${MY_USERNAME}/README
fi
function_check configure_firewall_for_irc
configure_firewall_for_irc
install_completed irc_server