aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh/promisc_check.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>1999-12-09 14:48:19 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>1999-12-09 14:48:19 +0000
commit15cf5616a22ee439df57846774e2f6d524a8c713 (patch)
tree200773517269576379a53fdbd07bd8ae97e22baf /cron-sh/promisc_check.sh
parent588989f7a9faeda91f9b9bfdebf67fab5ba3f422 (diff)
downloadmsec-15cf5616a22ee439df57846774e2f6d524a8c713.tar
msec-15cf5616a22ee439df57846774e2f6d524a8c713.tar.gz
msec-15cf5616a22ee439df57846774e2f6d524a8c713.tar.bz2
msec-15cf5616a22ee439df57846774e2f6d524a8c713.tar.xz
msec-15cf5616a22ee439df57846774e2f6d524a8c713.zip
*** empty log message ***
Diffstat (limited to 'cron-sh/promisc_check.sh')
-rwxr-xr-xcron-sh/promisc_check.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/cron-sh/promisc_check.sh b/cron-sh/promisc_check.sh
index a4186c7..2297595 100755
--- a/cron-sh/promisc_check.sh
+++ b/cron-sh/promisc_check.sh
@@ -26,7 +26,7 @@ Ttylog() {
fi
}
-PROMISC_CHECK="/usr/bin/promisc_check -q"
+PROMISC="/usr/bin/promisc_check -q"
#
# Check if a network interface is in promisc check...
# Written by Vandoorselaere Yoann, <yoann@mandrakesoft.com>
@@ -49,11 +49,11 @@ else
exit 1
fi
-if [ CHECK_PROMISC == "no" ]; then
+if [ ${CHECK_PROMISC}=="no" ]; then
exit 0;
fi
-for INTERFACE in `$PROMISC_CHECK`; do
+for INTERFACE in `${PROMISC}`; do
LogPromisc $INTERFACE
done