Code
daemonname="argononed"
powerbuttonscript=/storage/.config/$daemonname.py
shutdownscript="/storage/.config/"$daemonname"-poweroff.py"
daemonconfigfile=/storage/$daemonname.conf
configscript=/storage/argonone-config
removescript=/storage/argonone-uninstall
daemonfanservice=/storage/.config/system.d/$daemonname.service
argononeshutdownscript="/storage/.config/shutdown.sh"
Does this seem like a lot of scripts for a fan and power button? Could this not be a part of LibreELEC settings addon?
Please excuse my ignorance if I am being naive. I only want to get the fan working. I have actually been using LibreELEC without this script for a few months. It just seems a lot to get a fan working. I am no programmer so maybe it looks that way because of my lack of knowledge.
Cheers,
LongMan