summaryrefslogtreecommitdiff
path: root/example/handler/hello
diff options
context:
space:
mode:
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