diff options
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"): |