summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
-