fix: additional fixups for UNVR/UNVRPro

* Fixup fan control so it works on UNVR
* Add LED integration work for UNVR
* Rename our mtd-ro kernel module dir
* Fixup shortnames in ubnteeprom
This commit is contained in:
Chris Blake 2024-06-18 19:13:31 -05:00
parent 5962f1ea30
commit 58ce1fb99f
10 changed files with 35 additions and 32 deletions

View file

@ -16,7 +16,8 @@ case "$(ubnteeprom -systeminfo -key shortname)" in
exec ulcmd
;;
"UNVR4")
# TODO: LED setup (2=white, 1=blue) against /sys/class/leds/ulogo_ctrl
# 2=white, 1=blue, 0=off, needs a value set with :x for ms
echo 1:500 > /sys/class/leds/ulogo_ctrl/pattern
# Start our "daemon" loop so systemd stays happy
while true; do
sleep 3600