diff options
| author | Joseph Henry <josephjah@gmail.com> | 2015-11-12 08:21:05 -0800 |
|---|---|---|
| committer | Joseph Henry <josephjah@gmail.com> | 2015-11-12 08:21:05 -0800 |
| commit | e5fad005a9c5b4ad5f645a4aba40a7bff2eeda58 (patch) | |
| tree | bc231450835861671166205d814d5037e5236f62 /docker-test/throughput/intercept | |
| parent | 82a60b1e288773b18fb98eb7898c4bfc87587679 (diff) | |
| download | infinitytier-e5fad005a9c5b4ad5f645a4aba40a7bff2eeda58.tar.gz infinitytier-e5fad005a9c5b4ad5f645a4aba40a7bff2eeda58.zip | |
Updated RPC handling
Diffstat (limited to 'docker-test/throughput/intercept')
| -rwxr-xr-x | docker-test/throughput/intercept | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/docker-test/throughput/intercept b/docker-test/throughput/intercept deleted file mode 100755 index 3eb27ff7..00000000 --- a/docker-test/throughput/intercept +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh -# usage: -# /usr/bin/intercept program <args> - -if [ $# = 0 ] ; then - echo "$0: insufficient arguments" - exit -fi - -case "$1" in - on) - if [ -z "$LD_PRELOAD" ] - then - export LD_PRELOAD="/lib/libintercept.so.1.0" - else - echo $LD_PRELOAD | grep -q "/lib/libintercept\.so.1.0" || \ - export LD_PRELOAD="/lib/libintercept.so $LD_PRELOAD" - fi - ;; - off) - export LD_PRELOAD=`echo -n $LD_PRELOAD | sed 's/\/lib\/libintercept.so.1.0 \?//'` - if [ -z "$LD_PRELOAD" ] - then - unset LD_PRELOAD - fi - ;; - show|sh) - echo "LD_PRELOAD=\"$LD_PRELOAD\"" - ;; - -h|-?) - echo "" - ;; - *) - if [ -z "$LD_PRELOAD" ] - then - export LD_PRELOAD="/lib/libintercept.so.1.0" - else - echo $LD_PRELOAD | grep -q "/lib/libintercept\.so.1.0" || \ - export LD_PRELOAD="/lib/libintercept.so.1.0 $LD_PRELOAD" - fi - - if [ $# = 0 ] - then - ${SHELL:-/bin/sh} - fi - - if [ $# -gt 0 ] - then - exec "$@" - fi - ;; -esac - -#EOF |
