summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-02-27 16:56:02 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-02-27 16:56:02 (GMT)
commit5c6f0bf13b31d6bde1ab751b6307fc3852c13094 (patch)
tree4fb7c73af172f335a599aec5ad537884316dc3d0 /abs
parentfc09835fc760afcf321f703ca52f22f1e857b098 (diff)
downloadlinhes_pkgbuild-5c6f0bf13b31d6bde1ab751b6307fc3852c13094.zip
linhes_pkgbuild-5c6f0bf13b31d6bde1ab751b6307fc3852c13094.tar.gz
linhes_pkgbuild-5c6f0bf13b31d6bde1ab751b6307fc3852c13094.tar.bz2
Finish off fe_restart command for MBE from process.py
Diffstat (limited to 'abs')
-rwxr-xr-xabs/mv-core/local-website/PKGBUILD2
-rwxr-xr-xabs/mv-core/local-website/contents/process.py8
2 files changed, 6 insertions, 4 deletions
diff --git a/abs/mv-core/local-website/PKGBUILD b/abs/mv-core/local-website/PKGBUILD
index 2358cf5..e0b2380 100755
--- a/abs/mv-core/local-website/PKGBUILD
+++ b/abs/mv-core/local-website/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=local-website
pkgver=3
-pkgrel=82
+pkgrel=85
pkgdesc="Local website for MythVantage "
arch=(i686 x86_64)
#depends=('lighttpd')
diff --git a/abs/mv-core/local-website/contents/process.py b/abs/mv-core/local-website/contents/process.py
index b390440..99404a4 100755
--- a/abs/mv-core/local-website/contents/process.py
+++ b/abs/mv-core/local-website/contents/process.py
@@ -222,13 +222,15 @@ def go_wake(myhost):
def go_kill(myhost,kill_type):
myhostname = socket.gethostname()
if myhostname.strip() == myhost.strip():
- cmd="sudo /usr/bin/update_systemno_op "
- command=cmd + kill_type
+ if kill_type == "killX":
+ command="sudo /sbin/sv restart frontend"
+ else:
+ command="sudo /usr/bin/killall -9 mythfrontend"
else:
cmd=" call fe_restart "
cmd+=kill_type
command="sudo /usr/bin/func \"" + myhost.strip() + "*\" " + cmd
- print command
+ #print command
results=os.popen(command,'r')
return results