summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormiau <miaukatzemiau@priveasy.de>2011-07-29 07:37:29 (GMT)
committermiau <miaukatzemiau@priveasy.de>2011-07-29 07:37:29 (GMT)
commite99b31fcedd2e4b453b3023ea5cd8662fc335c9b (patch)
tree6feba032b276d46a74734694c1e2047689f9929a
parent635965049bfd8172adae73557c17cd19f6ea5964 (diff)
add example handler
-rwxr-xr-xhandler/hello9
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"
+
+
contact: Jan Huwald // Impressum