summaryrefslogtreecommitdiff
path: root/example/handler/hello
diff options
context:
space:
mode:
authorJan Huwald <jh@sotun.de>2012-05-21 07:39:52 (GMT)
committerJan Huwald <jh@sotun.de>2012-05-21 07:39:52 (GMT)
commit1e4b937165cb34cbc928e1cc11901c2b3735e2c2 (patch)
tree25122802b20d8af20b5c5f66fb968298275747c1 /example/handler/hello
parent6bd0f2e9a131c6db2cdf7d1480162f087468e23c (diff)
create example directory
- handler is moved to example/handler - example keys can be found in example/keys (which is intended as root for HBBP_KEYDIR)
Diffstat (limited to 'example/handler/hello')
-rwxr-xr-xexample/handler/hello11
1 files changed, 11 insertions, 0 deletions
diff --git a/example/handler/hello b/example/handler/hello
new file mode 100755
index 0000000..68ee5a4
--- /dev/null
+++ b/example/handler/hello
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# call me with broadcaster $bcat-ip hello world
+
+LOGFILE="./hello.log"
+
+( echo -n "Someone called 'hello "
+ cat
+ echo "'!"
+) >> "$LOGFILE"
+
contact: Jan Huwald // Impressum