QNAP-EC with Electric Eel

So I have a Qnap TS-453Be that I have running TrueNAS, which I just upgraded to Electric Eel.

To make it possible to control the fans I've had to use this project https://github.com/Stonyx/QNAP-EC

To get Qnap-EC to work on previous versions of TrueNAS, I had to:

  • chmod +x /bin/apt*
  • apt update
  • apt install build-essential
  • chmod -x /bin/apt*

Then I have a startup script that builds Qnap-EC and sets the fan speed.

Obviously this isn't supported but it has been working fine. The changes are wiped out by updates but I could live with that.

Now, with Electric Eel, I either get errors about apt not being supported, or chmod wont work as the /bin folder is mounted as read-only.

I'm trying to work out what is the least effort way to resolve this again. If I can find a more supported model for getting the fan control working, then that would also be a plus.

Anyone have any ideas?

-Stephen