Also install irc client on mesh peers

This commit is contained in:
Bob Mottram 2015-08-27 21:28:05 +01:00
parent dc148cbbad
commit 2519f04bbd
1 changed files with 5 additions and 0 deletions

View File

@ -8462,6 +8462,11 @@ function install_irc_server {
fi
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
echo "ERROR: ngircd does not appear to have installed. $CHECK_MESSAGE"
exit 53