Stanislav Brabec
2dbf7fb6d9
- Remove no more needed gnome-nettool2.png. - Fix paths in man pages (sed script). - Update avahi-discover.desktop to fit Desktop Menu Specification better (avahi#365, fdo#49699). - Automatically disable avahi on networks with unicast .local domain (bnc#431704, avahi-daemon-check-dns-suse.sh, avahi-daemon-check-dns-suse.patch). - Split avahi-autoipd into a separate package (bnc#431704#c6, avahi-autoipd.if-up, avahi-autoipd.if-down, avahi-autoipd.README.SUSE). - Use dedicated UID and GID for avahi-autoipd. - Added sysconfig to fine tune behavior. - Remove no more needed gnome-nettool2.png. - Fix paths in man pages (sed script). - Update avahi-discover.desktop to fit Desktop Menu Specification better (avahi#365, fdo#49699, avahi-desktop.patch). - Move service-types.db to the main package. It is requires by python-avahi and avahi-utils. OBS-URL: https://build.opensuse.org/request/show/157561 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/avahi?expand=0&rev=96
17 lines
325 B
Bash
17 lines
325 B
Bash
#!/bin/bash
|
|
|
|
[ "$2" != "lo" ] || exit 0
|
|
|
|
if test -f /etc/sysconfig/avahi ; then
|
|
. /etc/sysconfig/avahi
|
|
fi
|
|
|
|
if test "$AVAHI_AUTOIPD_ENABLE" = "yes" ; then
|
|
if test "$AVAHI_AUTOIPD_FORCE_BIND" = "yes" ; then
|
|
FORCE=" --force-bind"
|
|
else
|
|
FORCE=""
|
|
fi
|
|
@sbindir@/avahi-autoipd -wD$FORCE $2 2> /dev/null || exit 0
|
|
fi
|