PREUN
/bin/sh
if [ "$1" -eq 0 ]; then
/sbin/service avahi-dnsconfd stop >/dev/null 2>&1 || :
/sbin/chkconfig --del avahi-dnsconfd >/dev/null 2>&1 || :
/usr/bin/systemd-install --realize disable avahi-dnsconfd.service >/dev/null 2>&1 || :
fi
POSTIN
/bin/sh
# avahi-dnsconfd NOT run by default in any runlevel; add it
# so system-config-services can see it
/sbin/chkconfig --add avahi-dnsconfd >/dev/null 2>&1 || :
POSTUN
/bin/sh
if [ "$1" -ge "1" ]; then
/sbin/service avahi-dnsconfd condrestart >/dev/null 2>&1 || :
fi