summaryrefslogtreecommitdiff
path: root/allstar/brb
diff options
context:
space:
mode:
Diffstat (limited to 'allstar/brb')
-rwxr-xr-xallstar/brb21
1 files changed, 21 insertions, 0 deletions
diff --git a/allstar/brb b/allstar/brb
new file mode 100755
index 0000000..77c4577
--- /dev/null
+++ b/allstar/brb
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+
+ echo -e "Content-type: text/html\n\n"
+ echo "<html>"
+ echo "<head>"
+ echo "<title>Pressed the Big Red Button</title>"
+ echo "</head>"
+ echo "<body>"
+ echo -e "<center><h1>"
+
+if [ ! -f /var/lib/asterisk/brb/pressed ]; then
+ touch /var/lib/asterisk/brb/pressed
+ echo -e "CLICK"
+else
+ echo -e "PATIENCE GRASSHOPPER!"
+fi
+ echo -e "</center></h1>"
+ echo "</body>"
+ echo "</html>"
+exit 0;