diff options
Diffstat (limited to 'abs/core/LinHES-config/mv_ir.py')
-rwxr-xr-x | abs/core/LinHES-config/mv_ir.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/abs/core/LinHES-config/mv_ir.py b/abs/core/LinHES-config/mv_ir.py index a4c3bed..df6feb5 100755 --- a/abs/core/LinHES-config/mv_ir.py +++ b/abs/core/LinHES-config/mv_ir.py @@ -122,7 +122,8 @@ def setup_ir_remote(Remotetype,templates,mythhome,HostBlasterType): if os.path.isdir (filename): logging.debug(" %s is a dir, skipping",filename) continue - include_file("/etc/remote.run",filename) + cmd = "cp %s /etc/remote.run" %filename + mv_common.runcmd(cmd) else: #template dir files = templates + "/remotes/" + Remotetype + "/lircd*" @@ -148,7 +149,8 @@ def setup_ir_remote(Remotetype,templates,mythhome,HostBlasterType): if os.path.isdir (filename): logging.debug(" %s is a dir, skipping",filename) continue - include_file("/etc/remote.run",filename) + cmd = "cp %s /etc/remote.run" %filename + mv_common.runcmd(cmd) cmd = "chmod 755 /etc/lircrc /etc/remote.run" |