File avahi-autoipd.if-up of Package avahi.31309

#!/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
openSUSE Build Service is sponsored by