summaryrefslogtreecommitdiff
path: root/allstar/allstar-brb
diff options
context:
space:
mode:
Diffstat (limited to 'allstar/allstar-brb')
-rwxr-xr-xallstar/allstar-brb5
1 files changed, 3 insertions, 2 deletions
diff --git a/allstar/allstar-brb b/allstar/allstar-brb
index 294e73c..f1522a1 100755
--- a/allstar/allstar-brb
+++ b/allstar/allstar-brb
@@ -1,7 +1,7 @@
#!/bin/bash
if [ -f /var/lib/asterisk/brb/pressed ]; then
- /usr/local/bin/allstar-restart
+ /usr/local/sbin/allstar-restart
/usr/bin/ssmtp -t <<EOM
From: Asterisk <root@megalink.network>
@@ -16,7 +16,8 @@ $(date)
due to someone pushing the big red button!
-Be will, John Spartan
+Be well, John Spartan
EOM
+rm -f /var/lib/asterisk/brb/pressed
fi