diff options
author | Britney Fransen <brfransen@gmail.com> | 2012-04-23 18:00:31 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2012-04-23 18:00:31 (GMT) |
commit | 8c0d396181e43158de3f54c479456ca7ed052248 (patch) | |
tree | 9084b91614161dd51a20965a3fd6c7917318194e /abs/core/LinHES-config/mv_ir.py | |
parent | 9a303f31cba2f320a41a3a00e8cfd64e0259dbfe (diff) | |
download | linhes_pkgbuild-8c0d396181e43158de3f54c479456ca7ed052248.zip linhes_pkgbuild-8c0d396181e43158de3f54c479456ca7ed052248.tar.gz linhes_pkgbuild-8c0d396181e43158de3f54c479456ca7ed052248.tar.bz2 |
LinHES-config: mv_ir.py: replace lircd service with remotes. refs #821
Diffstat (limited to 'abs/core/LinHES-config/mv_ir.py')
-rwxr-xr-x | abs/core/LinHES-config/mv_ir.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/abs/core/LinHES-config/mv_ir.py b/abs/core/LinHES-config/mv_ir.py index df6feb5..36f7545 100755 --- a/abs/core/LinHES-config/mv_ir.py +++ b/abs/core/LinHES-config/mv_ir.py @@ -57,8 +57,8 @@ def add_module(filename,module): mv_common.runcmd(cmd) def unload_all_lirc(): - logging.debug(" Unloading all lirc modules") - cmd = "sv stop lircd" + logging.debug(" Unloading all remote modules") + cmd = "sv stop remotes" mv_common.runcmd(cmd) cmd = "killall -9 lircd" mv_common.runcmd(cmd) @@ -83,7 +83,7 @@ def include_file( incfile,filename): def setup_ir_remote(Remotetype,templates,mythhome,HostBlasterType): logging.debug(" Setup of remote type %s",Remotetype) if Remotetype == "no_remote" and HostBlasterType == "None" : - mv_common.remove_service("lircd") + mv_common.remove_service("remotes") elif Remotetype == "tinker": pass else: @@ -155,7 +155,7 @@ def setup_ir_remote(Remotetype,templates,mythhome,HostBlasterType): cmd = "chmod 755 /etc/lircrc /etc/remote.run" mv_common.runcmd(cmd) - mv_common.add_service("lircd") + mv_common.add_service("remotes") def setup_ir_receiver(ReceiverType,TEMPLATES,HDHRlirc_device,myip): @@ -375,7 +375,7 @@ def setup_ir(systemconfig, data_config): mv_common.runcmd(cmd) time.sleep(2) mv_common.udev_trigger() - cmd="sv start lircd" + cmd="sv start remotes" mv_common.runcmd(cmd) rc = [ True , True ] if systemconfig.get("LCDtype"): |