summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhunt <hunt>2005-08-19 11:38:43 +0000
committerhunt <hunt>2005-08-19 11:38:43 +0000
commit2971b830c3389c5ba004b67f928d4737b6cebcbe (patch)
treedbe1171b6b3b636205f65921c81299e3faac3c93
parent08d8a18278b6b0e400e11651e1546736aa38498c (diff)
downloadsystemtap-steved-2971b830c3389c5ba004b67f928d4737b6cebcbe.tar.gz
systemtap-steved-2971b830c3389c5ba004b67f928d4737b6cebcbe.tar.xz
systemtap-steved-2971b830c3389c5ba004b67f928d4737b6cebcbe.zip
2005-08-19 Martin Hunt <hunt@redhat.com>
* stp_check.in: Remove stp-control.
-rw-r--r--ChangeLog4
-rwxr-xr-xstp_check.in16
2 files changed, 5 insertions, 15 deletions
diff --git a/ChangeLog b/ChangeLog
index ccd70407..f0bccf5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-08-19 Martin Hunt <hunt@redhat.com>
+
+ * stp_check.in: Remove stp-control.
+
2005-08-18 Roland McGrath <roland@redhat.com>
* loc2c.c (c_translate_addressof): Take TYPEDIE instead of TYPEATTR.
diff --git a/stp_check.in b/stp_check.in
index a8d7c1ce..defc0a62 100755
--- a/stp_check.in
+++ b/stp_check.in
@@ -33,18 +33,14 @@ load_module()
prefix=@prefix@
VAR_DIR=@localstatedir@/cache/systemtap
-RELAYFS=`grep "relayfs" /proc/filesystems`
+RELAYFS=`grep relayfs /proc/filesystems`
if [ -z "$RELAYFS" ]
then
- RELAYFS=`/sbin/lsmod | grep relayfs`
- if [ -z "$RELAYFS" ]
- then
MODULE_NAME=relayfs
MODULE_DIR=$VAR_DIR/relayfs
MODULE=$MODULE_DIR/relayfs.ko
SRC_DIR=@datadir@/systemtap/runtime/relayfs
load_module
- fi
fi
if [ ! -d "/mnt/relay" ]
@@ -58,13 +54,3 @@ then
mount -t relayfs relayfs /mnt/relay
fi
-STP_CONTROL=`/sbin/lsmod | grep stp_control |awk '{print $1}'`
-if [ "$STP_CONTROL" != "stp_control" ]
-then
- MODULE_NAME=stp-control
- MODULE_DIR=$VAR_DIR/transport
- MODULE=$MODULE_DIR/stp-control.ko
- SRC_DIR=@datadir@/systemtap/runtime/transport
- load_module
-fi
-