diff options
author | miau <miaukatzemiau@priveasy.de> | 2011-07-29 07:37:29 (GMT) |
---|---|---|
committer | miau <miaukatzemiau@priveasy.de> | 2011-07-29 07:37:29 (GMT) |
commit | e99b31fcedd2e4b453b3023ea5cd8662fc335c9b (patch) | |
tree | 6feba032b276d46a74734694c1e2047689f9929a | |
parent | 635965049bfd8172adae73557c17cd19f6ea5964 (diff) |
add example handler
-rwxr-xr-x | handler/hello | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/handler/hello b/handler/hello new file mode 100755 index 0000000..92e1aa1 --- /dev/null +++ b/handler/hello @@ -0,0 +1,9 @@ +#!/bin/sh + +# call me with broadcaster $bcat-ip hello world + +LOGFILE="./hello.log" + +echo "Someone called 'hello $1'!" >> "$LOGFILE" + + |