Package: qcontrol
Version: 0.5.5-2

After a fresh install of stretch, qcontrold won't start on TS-410.

I had to apply the following patch in order to make it working :

root@qnap:/etc/qcontrol# diff -u ts41x.lua.orig ts41x.lua
--- ts41x.lua.orig 2017-01-24 13:28:27.532867707 +0100
+++ ts41x.lua 2017-01-24 13:18:19.346032258 +0100
@@ -117,7 +117,7 @@
  return evalfn(results[3])
  end

- local v=gpio:read("*n")
+ local v=gpio.read("*n")

  if v == 0     then return evalfn(results[1])
  elseif v == 1 then return evalfn(results[2])

Regards,

Michaël

Reply via email to