Make init script source /etc/sysconfig/clamd if present (#1195864)

This commit is contained in:
Robert Scheck 2015-04-10 18:44:47 +02:00
parent 1e9ece70df
commit 865529f4ff
2 changed files with 7 additions and 1 deletions

View File

@ -17,6 +17,9 @@
[ -x /usr/sbin/clamd ] || exit 0
# Local clamd config
test -f /etc/sysconfig/clamd && . /etc/sysconfig/clamd
# See how we were called.
case "$1" in
start)

View File

@ -5,7 +5,7 @@
Summary: Anti-virus software
Name: clamav
Version: 0.98.6
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2
Group: Applications/System
URL: http://www.clamav.net/
@ -397,6 +397,9 @@ rm -rf %{buildroot}
%exclude %{_libdir}/libclamav.la
%changelog
* Tue Feb 24 2015 Joel Smith <joelsmith@fedoraproject.org> - 0.98.6-2
- Make init script source /etc/sysconfig/clamd if present (#1195864)
* Thu Jan 29 2015 Robert Scheck <robert@fedoraproject.org> - 0.98.6-1
- Upgrade to 0.98.6 and updated daily.cvd (#1187050)