summaryrefslogtreecommitdiff
path: root/addons/hw_drivers/controllers
diff options
context:
space:
mode:
authorAntoine Prieels <anp@odoo.com>2019-07-26 09:30:49 +0200
committerAntoine Prieels <anp@odoo.com>2019-08-12 08:16:04 +0200
commitb62d98e9a87e7aa70fbce58e34dfd7882b33ec01 (patch)
tree2ca820dd13490668b426a4d5bf2fd6ff5b24841a /addons/hw_drivers/controllers
parent187eb053d6ca7e4d28459940e0f68bb11e88cdc4 (diff)
[IMP] hw_drivers: Config file for eftdvs
Add a config file for eftdvs. This was requested during the certification to allow user to change the config of the terminal. TaskID: 1932416
Diffstat (limited to 'addons/hw_drivers/controllers')
-rwxr-xr-xaddons/hw_drivers/controllers/driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hw_drivers/controllers/driver.py b/addons/hw_drivers/controllers/driver.py
index b7c6c42dca6..cf42b8fe723 100755
--- a/addons/hw_drivers/controllers/driver.py
+++ b/addons/hw_drivers/controllers/driver.py
@@ -478,7 +478,7 @@ if terminal_id:
try:
subprocess.check_output(["pidof", "eftdvs"]) # Check if MPD server is running
except subprocess.CalledProcessError:
- subprocess.Popen(["eftdvs"]) # Start MPD server
+ subprocess.Popen(["eftdvs", "/ConfigDir", "/usr/share/eftdvs/"]) # Start MPD server
eftapi = ctypes.CDLL("eftapi.so") # Library given by Six
mpdm.daemon = True
mpdm.start()