From 8c0d396181e43158de3f54c479456ca7ed052248 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 23 Apr 2012 13:00:31 -0500
Subject: LinHES-config: mv_ir.py: replace lircd service with remotes. refs
 #821

---
 abs/core/LinHES-config/PKGBUILD |  4 ++--
 abs/core/LinHES-config/mv_ir.py | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index 2777277..da14839 100644
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=2.3
-pkgrel=65
+pkgrel=66
 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config )
 pkgdesc="Install and configure your system"
 depends=('bc' 'libstatgrab'  'mysql-python' 'expect' 'curl' 'dnsutils' 'parted'
@@ -128,7 +128,7 @@ md5sums=('18af4fe481e1fc2ae02050026eb5cd27'
          '5f3259afe031fda189edae41dd1458f0'
          'dc150c1e2c915a55a616d1af5bb1f6de'
          'b845de3e05c1734cce4b9ac5e8f1baaf'
-         '03d866e4dc287d13734e35f4ebe15edb'
+         '6801f87992b44118a12b6dfe6ea68127'
          '5e69839659d65ddda35b8a9982dc29e9'
          '62b4ce94277c32f525db5c1480670acd'
          'ec6a9961e4d1b53ec1240c5979efff11'
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"):
-- 
cgit v0.12

