IRC default domain for onion only
This commit is contained in:
parent
8eaf6e64e3
commit
3c6d049848
|
@ -6872,7 +6872,12 @@ function install_irc_client {
|
||||||
echo ' autoconnect = "yes";' >> /home/$MY_USERNAME/.irssi/config
|
echo ' autoconnect = "yes";' >> /home/$MY_USERNAME/.irssi/config
|
||||||
echo ' },' >> /home/$MY_USERNAME/.irssi/config
|
echo ' },' >> /home/$MY_USERNAME/.irssi/config
|
||||||
echo ' {' >> /home/$MY_USERNAME/.irssi/config
|
echo ' {' >> /home/$MY_USERNAME/.irssi/config
|
||||||
|
if [[ $ONION_ONLY == 'no' ]]; then
|
||||||
echo " address = \"${DEFAULT_DOMAIN_NAME}\";" >> /home/$MY_USERNAME/.irssi/config
|
echo " address = \"${DEFAULT_DOMAIN_NAME}\";" >> /home/$MY_USERNAME/.irssi/config
|
||||||
|
else
|
||||||
|
IRC_ONION_HOSTNAME=$(cat $COMPLETION_FILE | grep "IRC onion domain" | awk -F ':' '{print $2}')
|
||||||
|
echo " address = \"${IRC_ONION_HOSTNAME}\";" >> /home/$MY_USERNAME/.irssi/config
|
||||||
|
fi
|
||||||
echo ' chatnet = "Freedombone";' >> /home/$MY_USERNAME/.irssi/config
|
echo ' chatnet = "Freedombone";' >> /home/$MY_USERNAME/.irssi/config
|
||||||
echo " port = \"${IRC_PORT}\";" >> /home/$MY_USERNAME/.irssi/config
|
echo " port = \"${IRC_PORT}\";" >> /home/$MY_USERNAME/.irssi/config
|
||||||
echo ' use_ssl = "yes";' >> /home/$MY_USERNAME/.irssi/config
|
echo ' use_ssl = "yes";' >> /home/$MY_USERNAME/.irssi/config
|
||||||
|
|
Loading…
Reference in New Issue