enable avahi by default
This commit is contained in:
parent
7dd3ee99e9
commit
28fb32c0e2
12
avahi.spec
12
avahi.spec
@ -6,7 +6,7 @@
|
||||
%endif
|
||||
Name: avahi
|
||||
Version: 0.6.30
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Local network service discovery
|
||||
Group: System Environment/Base
|
||||
License: LGPLv2
|
||||
@ -373,14 +373,14 @@ getent passwd avahi >/dev/null 2>&1 || useradd \
|
||||
dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || :
|
||||
/sbin/chkconfig --add avahi-daemon >/dev/null 2>&1 || :
|
||||
if [ "$1" -eq 1 ]; then
|
||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
/bin/systemctl enable avahi-daemon.service >/dev/null 2>&1 || :
|
||||
if [ -s /etc/localtime ]; then
|
||||
cp -cfp /etc/localtime /etc/avahi/etc/localtime || :
|
||||
fi
|
||||
fi
|
||||
|
||||
%triggerun -- avahi < 0.6.26-1
|
||||
if /sbin/chkconfig --level 3 avahi-daemon ; then
|
||||
if /sbin/chkconfig --level 5 avahi-daemon ; then
|
||||
/bin/systemctl --no-reload enable avahi-daemon.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
@ -417,7 +417,7 @@ if [ "$1" -eq 1 ]; then
|
||||
fi
|
||||
|
||||
%triggerun dnsconfd -- avahi-dnsconfd < 0.6.26-1
|
||||
if /sbin/chkconfig --level 3 avahi-dnsconfd ; then
|
||||
if /sbin/chkconfig --level 5 avahi-dnsconfd ; then
|
||||
/bin/systemctl --no-reload enable avahi-dnsconfd.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
@ -645,6 +645,10 @@ fi
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue May 3 2011 Lennart Poettering <lpoetter@redhat.com> - 0.6.30-2
|
||||
- Enable Avahi by default
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=647831
|
||||
|
||||
* Mon Apr 4 2011 Lennart Poettering <lpoetter@redhat.com> - 0.6.30-1
|
||||
- New upstream release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user