summaryrefslogtreecommitdiffstats
path: root/stp_check.in
diff options
context:
space:
mode:
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