summaryrefslogtreecommitdiffstats
path: root/abs/core/supplemental-web/cgi/bestart.cgi
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-12-25 22:38:35 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-12-25 22:38:35 (GMT)
commit11eaeebe7d98daa45e5e61703c2c10e15db9ad48 (patch)
treeeff28530e1aef11257c91a68ce900a2561a1a093 /abs/core/supplemental-web/cgi/bestart.cgi
parent90fe13c310dfbeab98a12a5dacc016f307ec4feb (diff)
downloadlinhes_pkgbuild-11eaeebe7d98daa45e5e61703c2c10e15db9ad48.zip
linhes_pkgbuild-11eaeebe7d98daa45e5e61703c2c10e15db9ad48.tar.gz
linhes_pkgbuild-11eaeebe7d98daa45e5e61703c2c10e15db9ad48.tar.bz2
supplemental-web: start/stop cgi scripts. Add an extra msg saying it's about to stop the service.
Diffstat (limited to 'abs/core/supplemental-web/cgi/bestart.cgi')
-rw-r--r--abs/core/supplemental-web/cgi/bestart.cgi6
1 files changed, 5 insertions, 1 deletions
diff --git a/abs/core/supplemental-web/cgi/bestart.cgi b/abs/core/supplemental-web/cgi/bestart.cgi
index 10ca4ad..e09e42b 100644
--- a/abs/core/supplemental-web/cgi/bestart.cgi
+++ b/abs/core/supplemental-web/cgi/bestart.cgi
@@ -1,5 +1,9 @@
#!/bin/bash
-sudo /sbin/sv start mythbackend
+# MESSAGE="Trying to start `hostname` B.E."
+# /usr/bin/func "*" call msg display "$MESSAGE" &
+
+sudo /sbin/sv start mythbackend
+
MESSAGE="`hostname` B.E. started"
/usr/bin/func "*" call msg display "$MESSAGE" &