[openvas-scanner] changed init.d script to display hints about openvas-mkcert in syslog
rebus
rebus at fedoraproject.org
Mon Jan 23 20:52:36 UTC 2012
commit 6ba766323fe6b32b8569177b3f64200f2ead3a3d
Author: Michal Ambroz <rebus at seznam.cz>
Date: Mon Jan 23 21:50:38 2012 +0100
changed init.d script to display hints about openvas-mkcert in syslog
openvas-scanner.initd | 4 ++--
openvas-scanner.spec | 5 ++++-
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/openvas-scanner.initd b/openvas-scanner.initd
index c19d2a0..20690d6 100644
--- a/openvas-scanner.initd
+++ b/openvas-scanner.initd
@@ -48,13 +48,13 @@ start() {
grep -q ca_file $config >& /dev/null
if [ $? -ne 0 ]; then
- echo "No certificate specified in configuration file. Did you run openvas-mkcert tool?"
+ logger --tag "$progname" "No certificate specified in configuration file. Did you run openvas-mkcert tool?"
exit 6
fi
CACERT=`grep ca_file $config | cut -d= -f2`
if [ \! -z "$CACERT" -a \! -f "$CACERT" ]; then
- echo "Certificate specified in the configuration file not found. Did you run openvas-mkcert tool?"
+ logger --tag "$progname" "Certificate specified in the configuration file not found. Did you run openvas-mkcert tool?"
exit 6
fi
diff --git a/openvas-scanner.spec b/openvas-scanner.spec
index da0cdcc..5489d37 100644
--- a/openvas-scanner.spec
+++ b/openvas-scanner.spec
@@ -1,7 +1,7 @@
Name: openvas-scanner
Summary: Open Vulnerability Assessment (OpenVAS) Scanner
Version: 3.2.5
-Release: 2%{?dist}
+Release: 3%{?dist}
URL: http://www.openvas.org
License: GPLv2
Group: System Environment/Libraries
@@ -210,6 +210,9 @@ fi
#attr(644,root,root) _{_libdir}/openvas/plugins/*.nes
%changelog
+* Mon Jan 23 2012 Michal Ambroz <rebus at, seznam.cz> - 3.2.5-3
+- changed init.d script to display hints about openvas-mkcert in syslog
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list