From 0110f903329ab531bcbe9d555d5b6f6dc77d8a54 Mon Sep 17 00:00:00 2001 From: hunt Date: Tue, 9 Aug 2005 19:19:51 +0000 Subject: 2005-08-09 Martin Hunt PR 1174 * stp_check.in: Supply path for lsmod. * stp_check: Removed. --- stp_check.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stp_check.in') diff --git a/stp_check.in b/stp_check.in index 78aabebf..92ef4fed 100755 --- a/stp_check.in +++ b/stp_check.in @@ -36,7 +36,7 @@ VAR_DIR=@localstatedir@/cache/systemtap RELAYFS=`grep " relayfs_poll" /boot/System.map-\`uname -r\`` if [ -z "$RELAYFS" ] then - RELAYFS=`lsmod | grep relayfs` + RELAYFS=`/sbin/lsmod | grep relayfs` if [ -z "$RELAYFS" ] then MODULE_NAME=relayfs @@ -58,7 +58,7 @@ then mount -t relayfs relayfs /mnt/relay fi -STP_CONTROL=`lsmod | grep stp_control |awk '{print $1}'` +STP_CONTROL=`/sbin/lsmod | grep stp_control |awk '{print $1}'` if [ "$STP_CONTROL" != "stp_control" ] then MODULE_NAME=stp-control -- cgit