aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh/scripts
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-06-26 19:20:26 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-06-26 19:20:26 +0000
commit3a9bf59ac1e16b1c4a954488e7daa6804a0f7832 (patch)
treeb2284a9297a770bd9e181cd2d54e0597f16efd05 /cron-sh/scripts
parentd9bf87b0e6b62b1aee9c2d2e89a7db7cd58a52d3 (diff)
downloadmsec-3a9bf59ac1e16b1c4a954488e7daa6804a0f7832.tar
msec-3a9bf59ac1e16b1c4a954488e7daa6804a0f7832.tar.gz
msec-3a9bf59ac1e16b1c4a954488e7daa6804a0f7832.tar.bz2
msec-3a9bf59ac1e16b1c4a954488e7daa6804a0f7832.tar.xz
msec-3a9bf59ac1e16b1c4a954488e7daa6804a0f7832.zip
Improved diff checks.
Diffstat (limited to 'cron-sh/scripts')
-rwxr-xr-xcron-sh/scripts/02_network.sh2
-rwxr-xr-xcron-sh/scripts/03_rpm.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/cron-sh/scripts/02_network.sh b/cron-sh/scripts/02_network.sh
index f333b00..95228c2 100755
--- a/cron-sh/scripts/02_network.sh
+++ b/cron-sh/scripts/02_network.sh
@@ -34,7 +34,7 @@ fi
### Changed open port
if [[ ${CHECK_OPEN_PORT} == yes ]]; then
- Diffcheck ${OPEN_PORT_TODAY} ${OPEN_PORT_YESTERDAY} ${OPEN_PORT_DIFF} "network ports"
+ Diffcheck ${OPEN_PORT_TODAY} ${OPEN_PORT_YESTERDAY} ${OPEN_PORT_DIFF} "network listening ports"
fi
### Changed firewall
diff --git a/cron-sh/scripts/03_rpm.sh b/cron-sh/scripts/03_rpm.sh
index 5eb1399..fcd3de8 100755
--- a/cron-sh/scripts/03_rpm.sh
+++ b/cron-sh/scripts/03_rpm.sh
@@ -39,7 +39,7 @@ fi
# list of installed packages
if [[ ${CHECK_RPM_PACKAGES} == yes ]]; then
- rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}\t%{INSTALLTIME}\n" | sort > ${RPM_QA_TODAY}
+ rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}\n" | sort > ${RPM_QA_TODAY}
Diffcheck ${RPM_QA_TODAY} ${RPM_QA_YESTERDAY} ${RPM_QA_DIFF} "installed packages"
fi