diff options
author | Cecil <knoppmyth@gmail.com> | 2011-12-22 01:57:32 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-12-22 01:57:32 (GMT) |
commit | 7c37daf6c751f73b0785bc6b851c7cc662f65447 (patch) | |
tree | c46d56f3c3c283dc3de31577befbea1ec9ed1bcf /abs/core/supplemental-web/cgi | |
parent | 69701681f4cd221164da333d0ef0f1baf99bbf52 (diff) | |
parent | 02750b0fe64c4da69ff0dfc16178f1a79cec0b18 (diff) | |
download | linhes_pkgbuild-7c37daf6c751f73b0785bc6b851c7cc662f65447.zip linhes_pkgbuild-7c37daf6c751f73b0785bc6b851c7cc662f65447.tar.gz linhes_pkgbuild-7c37daf6c751f73b0785bc6b851c7cc662f65447.tar.bz2 |
Merge branch 'testing' of ssh://cesman@linhes.org/mount/repository/linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/supplemental-web/cgi')
-rw-r--r-- | abs/core/supplemental-web/cgi/beclear.cgi | 2 | ||||
-rw-r--r-- | abs/core/supplemental-web/cgi/bestart.cgi | 6 | ||||
-rw-r--r-- | abs/core/supplemental-web/cgi/bestop.cgi | 8 |
3 files changed, 12 insertions, 4 deletions
diff --git a/abs/core/supplemental-web/cgi/beclear.cgi b/abs/core/supplemental-web/cgi/beclear.cgi index 40c0cec..489466d 100644 --- a/abs/core/supplemental-web/cgi/beclear.cgi +++ b/abs/core/supplemental-web/cgi/beclear.cgi @@ -1,4 +1,4 @@ #!/bin/bash -/usr/local/bin/mythbackend --clearcache +/usr/bin/mythbackend --clearcache MESSAGE="settings cache is cleared " #/usr/bin/notify.py SYS "$MESSAGE" 2>/dev/null diff --git a/abs/core/supplemental-web/cgi/bestart.cgi b/abs/core/supplemental-web/cgi/bestart.cgi new file mode 100644 index 0000000..10ca4ad --- /dev/null +++ b/abs/core/supplemental-web/cgi/bestart.cgi @@ -0,0 +1,6 @@ +#!/bin/bash +sudo /sbin/sv start mythbackend +MESSAGE="`hostname` B.E. started" +/usr/bin/func "*" call msg display "$MESSAGE" & + + 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 |