The line "killall -q $I > /dev/null 2>&1" does not stop the program. In fact the command "kill -q FahCore_82.exe' eg will not stop the grid software. Instead I have to kill the process containing the string 'su foldingathome -c /opt/foldingathome/client1/foldingathome'. Reproducible: Always Steps to Reproduce: 1. 2. 3.
To clarify this: The described behavior does happen immediately after the start. If foldingathome hs finished some part of his work, especially after writing a line like 'Completed xxx out of xxx steps' the shutdown via killall -q ... works.
"r4" uses start-stop-daemon to launch foldingathome. It also seems to stop the client appropriately. If you still have problems, feel free to reopen.