From 49280d4c91c1b3c1fb66ff564c40934198c28907 Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Fri, 15 Feb 2002 04:36:19 +0000 Subject: use complete path for the ip command. --- cron-sh/promisc_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cron-sh/promisc_check.sh') 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 -- cgit v1.2.1