aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-02-15 04:36:19 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-02-15 04:36:19 +0000
commit49280d4c91c1b3c1fb66ff564c40934198c28907 (patch)
treed124b90c1a4d519ebedb2a77a5ea3067444573d6 /cron-sh
parent679e13cbfbf65fb87b6a235012719be6857ce0fe (diff)
downloadmsec-49280d4c91c1b3c1fb66ff564c40934198c28907.tar
msec-49280d4c91c1b3c1fb66ff564c40934198c28907.tar.gz
msec-49280d4c91c1b3c1fb66ff564c40934198c28907.tar.bz2
msec-49280d4c91c1b3c1fb66ff564c40934198c28907.tar.xz
msec-49280d4c91c1b3c1fb66ff564c40934198c28907.zip
use complete path for the ip command.
Diffstat (limited to 'cron-sh')
-rwxr-xr-xcron-sh/promisc_check.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-sh/promisc_check.sh b/cron-sh/promisc_check.sh
index 9a6c3dd..cd38962 100755
--- a/cron-sh/promisc_check.sh
+++ b/cron-sh/promisc_check.sh
@@ -52,7 +52,7 @@ if [[ ${CHECK_PROMISC} == no ]]; then
exit 0;
fi
-for INTERFACE in `ip link list | grep PROMISC | cut -f 2 -d ':';/usr/bin/promisc_check -q`; do
+for INTERFACE in `/sbin/ip link list | grep PROMISC | cut -f 2 -d ':';/usr/bin/promisc_check -q`; do
LogPromisc ${INTERFACE}
done