diff options
author | John Denker <jsd@av8n.com> | 2012-07-22 19:13:11 -0700 |
---|---|---|
committer | John Denker <jsd@av8n.com> | 2012-07-29 15:32:35 -0700 |
commit | 8f18b37fd5a46d28544a4f31465c47428a43398b (patch) | |
tree | 9ac1d7a0ff916046d0748d3ac0c2ed1275f2ee4c /tools/hi-test2.conf | |
parent | 065d189b49449c073cfa23cba4172060abe36c6c (diff) |
create the "bash-c" program, so as to make it easy to
write self-executing scripts
Diffstat (limited to 'tools/hi-test2.conf')
-rwxr-xr-x[-rw-r--r--] | tools/hi-test2.conf | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/hi-test2.conf b/tools/hi-test2.conf index 370ba77..50f231e 100644..100755 --- a/tools/hi-test2.conf +++ b/tools/hi-test2.conf @@ -1,6 +1,8 @@ +#! /usr/local/bin/bash-c set -x ; </dev/null 1</dev/null TCPREMOTEHOST=asf TCPREMOTEIP=1.2.3.4 hi-q $0 ; echo $? + stub hi-test x0 -snooze 2 -stub hi-test x0 -snooze 1 -exit 0 -stub greylist -suffix (sfx) -v -p 10 -qq hi-test x1 -snooze 3 -exit 3 +stub hi-test x0 -snooze 1 -exit 21 # could be 0 or 21 +stub greylist -suffix (sfx) -v -stain 10 +qq hi-test x1 -snooze 3 -exit 3 # last one controls timing, if all others exit 0 -postspam /bin/echo post spam ! +postspam /usr/local/bin/ECHO2 postspam command! |