aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-30 12:46:23 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-30 12:46:23 +0000
commitea93fd24a76f9aca87fb3c54d3c79452d04cd0fe (patch)
tree76a46b16e8e75260714d039db5edba0dc880b21a
parentb892f82b8ed02952f39c6b945a4d1936ce215ab3 (diff)
downloadmsec-ea93fd24a76f9aca87fb3c54d3c79452d04cd0fe.tar
msec-ea93fd24a76f9aca87fb3c54d3c79452d04cd0fe.tar.gz
msec-ea93fd24a76f9aca87fb3c54d3c79452d04cd0fe.tar.bz2
msec-ea93fd24a76f9aca87fb3c54d3c79452d04cd0fe.tar.xz
msec-ea93fd24a76f9aca87fb3c54d3c79452d04cd0fe.zip
run with idle IOnice priority (#42795)
-rwxr-xr-xcron-sh/security.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh
index 2ada1bc..08a17ed 100755
--- a/cron-sh/security.sh
+++ b/cron-sh/security.sh
@@ -134,7 +134,7 @@ fi
netstat -pvlA inet,inet6 2> /dev/null > ${OPEN_PORT_TODAY};
-ionice -n7 -p $$
+ionice -c3 -p $$
# Hard disk related file check; the less priority the better...
nice --adjustment=+19 /usr/bin/msec_find ${DIR}