Skip to content
Snippets Groups Projects
Commit f1a18d01 authored by Bob Mottram's avatar Bob Mottram
Browse files

Install toxid

parent 28d5ae6c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment