diff options
author | Frederic Lepied <flepied@mandriva.com> | 2002-02-15 04:36:19 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2002-02-15 04:36:19 +0000 |
commit | 49280d4c91c1b3c1fb66ff564c40934198c28907 (patch) | |
tree | d124b90c1a4d519ebedb2a77a5ea3067444573d6 /cron-sh | |
parent | 679e13cbfbf65fb87b6a235012719be6857ce0fe (diff) | |
download | msec-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-x | cron-sh/promisc_check.sh | 2 |
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 |