diff options
-rwxr-xr-x | abs/mv-core/local-website/PKGBUILD | 2 | ||||
-rwxr-xr-x | abs/mv-core/local-website/contents/process.py | 8 |
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 |