Newer, better, tsocks(1)-like wrapper script for D.U.M.A.
/trunk/scripts/build/debug/duma.in | 44 44 0 0 ++++++++++++++++++++++++++++++++++++++++
/trunk/scripts/build/debug/200-duma.sh | 12 3 9 0 +++--------
2 files changed, 47 insertions(+), 9 deletions(-)
2 # (C) 2008 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
3 # Licensed under the GPL v.2
9 case "${LD_PRELOAD}" in
11 *) LD_PRELOAD="${LIBDUMA_SO} ${LD_PRELOAD}";;
16 LD_PRELOAD="${LD_PRELOAD//${LIBDUMA_SO}/}"
20 case "${LD_PRELOAD}" in
21 *${LIBDUMA_SO}*) echo "duma is enabled";;
22 *) echo "duma is disabled";;
30 Sets, unsets or show DUMA usage.
31 $0 <executable [arg...]>
32 Execute 'executable' (with arguments 'args') using DUMA.
34 false # Don't 'exit', we could well be source'd