Install toxid
This commit is contained in:
parent
28d5ae6ca9
commit
f1a18d01ae
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue