On Mon, 24 Apr 2017, Sherrod Munday wrote:

One idea is that you could add a script line that simply executes a 'who am i' (or 'whoami' depending on your OS) command and redirect the output to a world-writeable directory (or pre-created and 'chmod 777'd file).

I did that, and it's running as 'scott'. Weird; the script run from the command line (also as 'scott') fires the relays, but not from Rivendell unless the permissions for /dev/ttyUSB0 are set to 777.

I have decided to throw in the towel and set up a udev rule so the KMTronic box always comes up with 777 permissions. Now the relays fire, and everybody will be happy.

This must be some sort of quick in Debian 8; the last time I used a KMTronic box it was under Debian 7.


Rob

--
Я там, где ребята толковые,
Я там, где плакаты "Вперёд",
Где песни рабочие новые
Страна трудовая поёт.
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to