summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/local-website/contents
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/mv-core/local-website/contents
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/mv-core/local-website/contents')
-rwxr-xr-xabs/mv-core/local-website/contents/process.py8
1 files changed, 5 insertions, 3 deletions
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