summaryrefslogtreecommitdiffstats
path: root/abs/core/supplemental-web/cgi/bestop.cgi
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-12-21 21:07:15 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-12-21 21:07:15 (GMT)
commitf7817cd6d6bc524fbce673ec68ebe7efab8e4a46 (patch)
tree784197398e887ec798923a7aab2488e019021d1a /abs/core/supplemental-web/cgi/bestop.cgi
parentddab9d26651122643ad4f993812c6bf38d9fd911 (diff)
downloadlinhes_pkgbuild-f7817cd6d6bc524fbce673ec68ebe7efab8e4a46.zip
linhes_pkgbuild-f7817cd6d6bc524fbce673ec68ebe7efab8e4a46.tar.gz
linhes_pkgbuild-f7817cd6d6bc524fbce673ec68ebe7efab8e4a46.tar.bz2
supplemental-web: add backend_control.sh and cleanup the cgi scripts
Diffstat (limited to 'abs/core/supplemental-web/cgi/bestop.cgi')
-rw-r--r--abs/core/supplemental-web/cgi/bestop.cgi8
1 files changed, 5 insertions, 3 deletions
diff --git a/abs/core/supplemental-web/cgi/bestop.cgi b/abs/core/supplemental-web/cgi/bestop.cgi
index e45e74d..a65a16a 100644
--- a/abs/core/supplemental-web/cgi/bestop.cgi
+++ b/abs/core/supplemental-web/cgi/bestop.cgi
@@ -1,6 +1,8 @@
#!/bin/bash
-sudo /sbin/sv stop mythbackend > /dev/null
+sudo /sbin/sv stop mythbackend
MESSAGE="`hostname` B.E. stopped"
+/usr/bin/func "*" call msg display "$MESSAGE" &
+
+
+
-#echo $MESSAGE
-/usr/bin/notify.py NFO "$MESSAGE" 2>/dev/null