diff options
author | hunt <hunt> | 2005-08-19 11:36:07 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-08-19 11:36:07 +0000 |
commit | 26f6870aa5e1d395abde9a945fed68125697ef7d (patch) | |
tree | 063ebeb49edf3aa4bd004acca93c58f112cb409d /runtime/probes/stp | |
parent | 4c25a38a5c14fda1d8f588d21762496f2a919746 (diff) | |
download | systemtap-steved-26f6870aa5e1d395abde9a945fed68125697ef7d.tar.gz systemtap-steved-26f6870aa5e1d395abde9a945fed68125697ef7d.tar.xz systemtap-steved-26f6870aa5e1d395abde9a945fed68125697ef7d.zip |
2005-08-19 Martin Hunt <hunt@redhat.com>
* shellsnoop/shellsnoop.c: Remove STP_NETLINK_ONLY.
* stp: Deleted. Use stpd directly.
Diffstat (limited to 'runtime/probes/stp')
-rwxr-xr-x | runtime/probes/stp | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/runtime/probes/stp b/runtime/probes/stp deleted file mode 100755 index f045a9e5..00000000 --- a/runtime/probes/stp +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash -if [ -n "$1" ] -then - modulename=$1 -else - echo "Usage: stp modulename" - exit -fi - -RELAYFS=`grep " relayfs_poll" /boot/System.map-\`uname -r\`` -if [ -z "$RELAYFS" ] -then - RELAYFS=`lsmod | grep relayfs` - if [ -z "$RELAYFS" ] - then - /sbin/insmod ../../relayfs/relayfs.ko - fi -fi - -if [ ! -d "/mnt/relay" ] -then - mkdir /mnt/relay -fi - -MOUNT=`mount | grep relayfs |awk '{print $1}'` -if [ "$MOUNT" != "relayfs" ] -then - mount -t relayfs relayfs /mnt/relay -fi - -STP_CONTROL=`lsmod | grep stp_control |awk '{print $1}'` -if [ "$STP_CONTROL" != "stp_control" ] -then - /sbin/insmod ../../transport/stp-control.ko -fi - -# print to screen only -#../../stpd/stpd -p $modulename - -# print to screen and log to files (file logging only if #define STP_NETLINK_ONLY commented out in module) -../../stpd/stpd $modulename - -# no screen, log to files (file logging only if #define STP_NETLINK_ONLY commented out in module) -#../../stpd/stpd -q $modulename |