mirror of
https://github.com/didyouexpectthat/zerotierone.git
synced 2024-11-21 07:10:09 -08:00
29e340f2b6
Avahi blocks ZeroTier advertisements, so remove the zt0 deny-interfaces config.
15 lines
339 B
Bash
15 lines
339 B
Bash
#!/bin/sh -e
|
|
|
|
case "$1" in
|
|
configure)
|
|
adduser --system --group --home /var/lib/zerotier-one --no-create-home zerotier-one
|
|
;;
|
|
esac
|
|
|
|
# avahi explicitly doesn't broadcast over ZeroTier
|
|
# so tell avahi to change the config
|
|
# avahi already reloads config on file change
|
|
sed -i 's/,zt0//' /etc/avahi/avahi-daemon.conf
|
|
|
|
#DEBHELPER#
|