Install toxid

This commit is contained in:
Bob Mottram 2016-09-29 12:29:20 +01:00
parent 28d5ae6ca9
commit f1a18d01ae
1 changed files with 6 additions and 7 deletions

View File

@ -263,9 +263,6 @@ function configure_firewall_for_tox {
}
function tox_avahi {
if [[ $SYSTEM_TYPE != "$VARIANT_MESH" ]]; then
return
fi
if grep -Fxq "tox_avahi" $COMPLETION_FILE; then
return
fi
@ -289,11 +286,13 @@ function tox_avahi {
fi
make install
toxavahi
if [[ $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
toxavahi
# publish regularly
function_check cron_add_mins
cron_add_mins 1 'toxavahi > /dev/null'
# publish regularly
function_check cron_add_mins
cron_add_mins 1 'toxavahi 2> /dev/null'
fi
systemctl restart avahi-daemon