From 2971b830c3389c5ba004b67f928d4737b6cebcbe Mon Sep 17 00:00:00 2001 From: hunt Date: Fri, 19 Aug 2005 11:38:43 +0000 Subject: [PATCH] 2005-08-19 Martin Hunt * stp_check.in: Remove stp-control. --- ChangeLog | 4 ++++ stp_check.in | 16 +--------------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index ccd704079..f0bccf5ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-08-19 Martin Hunt + + * stp_check.in: Remove stp-control. + 2005-08-18 Roland McGrath * loc2c.c (c_translate_addressof): Take TYPEDIE instead of TYPEATTR. diff --git a/stp_check.in b/stp_check.in index a8d7c1cec..defc0a623 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 - -- 2.43.5