Also install irc client
This commit is contained in:
parent
715b0fb975
commit
be4b3aba25
|
@ -7437,6 +7437,17 @@ function install_watchdog_script {
|
||||||
echo 'install_watchdog_script' >> $COMPLETION_FILE
|
echo 'install_watchdog_script' >> $COMPLETION_FILE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function install_irc_client {
|
||||||
|
if [[ $SYSTEM_TYPE == "$VARIANT_WRITER" || $SYSTEM_TYPE == "$VARIANT_MAILBOX" || $SYSTEM_TYPE == "$VARIANT_CLOUD" || $SYSTEM_TYPE == "$VARIANT_SOCIAL" || $SYSTEM_TYPE == "$VARIANT_MEDIA" || $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
if grep -Fxq "install_irc_client" $COMPLETION_FILE; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
apt-get -y install irssi
|
||||||
|
echo 'install_irc_client' >> $COMPLETION_FILE
|
||||||
|
}
|
||||||
|
|
||||||
function install_irc_server {
|
function install_irc_server {
|
||||||
if [[ $SYSTEM_TYPE == "$VARIANT_WRITER" || $SYSTEM_TYPE == "$VARIANT_MAILBOX" || $SYSTEM_TYPE == "$VARIANT_CLOUD" || $SYSTEM_TYPE == "$VARIANT_SOCIAL" || $SYSTEM_TYPE == "$VARIANT_MEDIA" || $SYSTEM_TYPE == "$VARIANT_DEVELOPER" || $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
|
if [[ $SYSTEM_TYPE == "$VARIANT_WRITER" || $SYSTEM_TYPE == "$VARIANT_MAILBOX" || $SYSTEM_TYPE == "$VARIANT_CLOUD" || $SYSTEM_TYPE == "$VARIANT_SOCIAL" || $SYSTEM_TYPE == "$VARIANT_MEDIA" || $SYSTEM_TYPE == "$VARIANT_DEVELOPER" || $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
|
||||||
return
|
return
|
||||||
|
@ -7446,11 +7457,6 @@ function install_irc_server {
|
||||||
fi
|
fi
|
||||||
apt-get -y install ngircd
|
apt-get -y install ngircd
|
||||||
|
|
||||||
# for mesh peers also install an irc client
|
|
||||||
if [[ $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
|
|
||||||
apt-get -y install irssi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -d /etc/ngircd ]; then
|
if [ ! -d /etc/ngircd ]; then
|
||||||
echo $"ERROR: ngircd does not appear to have installed. $CHECK_MESSAGE"
|
echo $"ERROR: ngircd does not appear to have installed. $CHECK_MESSAGE"
|
||||||
exit 53
|
exit 53
|
||||||
|
@ -10317,6 +10323,7 @@ install_tox_node
|
||||||
install_tox_client
|
install_tox_client
|
||||||
tox_avahi
|
tox_avahi
|
||||||
configure_firewall_for_xmpp
|
configure_firewall_for_xmpp
|
||||||
|
install_irc_client
|
||||||
install_irc_server
|
install_irc_server
|
||||||
configure_firewall_for_irc
|
configure_firewall_for_irc
|
||||||
install_voip
|
install_voip
|
||||||
|
|
Loading…
Reference in New Issue