diff options
author | hunt <hunt> | 2005-08-19 11:38:43 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-08-19 11:38:43 +0000 |
commit | 2971b830c3389c5ba004b67f928d4737b6cebcbe (patch) | |
tree | dbe1171b6b3b636205f65921c81299e3faac3c93 | |
parent | 08d8a18278b6b0e400e11651e1546736aa38498c (diff) | |
download | systemtap-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-- | ChangeLog | 4 | ||||
-rwxr-xr-x | stp_check.in | 16 |
2 files changed, 5 insertions, 15 deletions
@@ -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 - |