summaryrefslogtreecommitdiffstats
path: root/stp_check.in
diff options
context:
space:
mode:
authorhunt <hunt>2005-08-09 19:19:51 +0000
committerhunt <hunt>2005-08-09 19:19:51 +0000
commit0110f903329ab531bcbe9d555d5b6f6dc77d8a54 (patch)
tree60b5cff133322dbc4d7fecdfd1d4a00a61910eb4 /stp_check.in
parentd98d459c440fb476869b34a84bb8a75d28fbb188 (diff)
downloadsystemtap-steved-0110f903329ab531bcbe9d555d5b6f6dc77d8a54.tar.gz
systemtap-steved-0110f903329ab531bcbe9d555d5b6f6dc77d8a54.tar.xz
systemtap-steved-0110f903329ab531bcbe9d555d5b6f6dc77d8a54.zip
2005-08-09 Martin Hunt <hunt@redhat.com>
PR 1174 * stp_check.in: Supply path for lsmod. * stp_check: Removed.
Diffstat (limited to 'stp_check.in')
-rwxr-xr-xstp_check.in4
1 files changed, 2 insertions, 2 deletions
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