Install toxid
This commit is contained in:
parent
28d5ae6ca9
commit
f1a18d01ae
|
@ -263,9 +263,6 @@ function configure_firewall_for_tox {
|
||||||
}
|
}
|
||||||
|
|
||||||
function tox_avahi {
|
function tox_avahi {
|
||||||
if [[ $SYSTEM_TYPE != "$VARIANT_MESH" ]]; then
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
if grep -Fxq "tox_avahi" $COMPLETION_FILE; then
|
if grep -Fxq "tox_avahi" $COMPLETION_FILE; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
@ -289,11 +286,13 @@ function tox_avahi {
|
||||||
fi
|
fi
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
if [[ $SYSTEM_TYPE == "$VARIANT_MESH" ]]; then
|
||||||
toxavahi
|
toxavahi
|
||||||
|
|
||||||
# publish regularly
|
# publish regularly
|
||||||
function_check cron_add_mins
|
function_check cron_add_mins
|
||||||
cron_add_mins 1 'toxavahi > /dev/null'
|
cron_add_mins 1 'toxavahi 2> /dev/null'
|
||||||
|
fi
|
||||||
|
|
||||||
systemctl restart avahi-daemon
|
systemctl restart avahi-daemon
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue