diff options
Diffstat (limited to 'abs/mv-core/local-website/cgi/bestop.cgi')
-rwxr-xr-x | abs/mv-core/local-website/cgi/bestop.cgi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/abs/mv-core/local-website/cgi/bestop.cgi b/abs/mv-core/local-website/cgi/bestop.cgi new file mode 100755 index 0000000..e45e74d --- /dev/null +++ b/abs/mv-core/local-website/cgi/bestop.cgi @@ -0,0 +1,6 @@ +#!/bin/bash +sudo /sbin/sv stop mythbackend > /dev/null +MESSAGE="`hostname` B.E. stopped" + +#echo $MESSAGE +/usr/bin/notify.py NFO "$MESSAGE" 2>/dev/null |