aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh/scripts
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-06-27 17:10:31 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-06-27 17:10:31 +0000
commit6561120bae921f51e3845f13ac4de0425b6fd719 (patch)
tree49b84711cd3298903a1a3271a25d9364cf313f19 /cron-sh/scripts
parent2bda15c94866735d88e19cea809209f62eb114c5 (diff)
downloadmsec-6561120bae921f51e3845f13ac4de0425b6fd719.tar
msec-6561120bae921f51e3845f13ac4de0425b6fd719.tar.gz
msec-6561120bae921f51e3845f13ac4de0425b6fd719.tar.bz2
msec-6561120bae921f51e3845f13ac4de0425b6fd719.tar.xz
msec-6561120bae921f51e3845f13ac4de0425b6fd719.zip
Properly handle promisc checks (#51903)
Diffstat (limited to 'cron-sh/scripts')
-rwxr-xr-xcron-sh/scripts/02_network.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/cron-sh/scripts/02_network.sh b/cron-sh/scripts/02_network.sh
index 95228c2..8e2286c 100755
--- a/cron-sh/scripts/02_network.sh
+++ b/cron-sh/scripts/02_network.sh
@@ -52,6 +52,6 @@ fi
### Check if network is in promisc mode
if [[ ${CHECK_PROMISC} == yes ]]; then
- # check_promisc handles this
- . /usr/share/msec/promisc_check.sh
+ export SECURITY
+ /usr/share/msec/promisc_check.sh
fi