(04-30-2020, 01:25 AM)Tim Curtis Wrote:Maybe something like a 'LED Operation' dropdown list with two options:(04-29-2020, 11:28 PM)romain Wrote:(04-29-2020, 10:25 PM)Tim Curtis Wrote: I think auto-remount is goodness for all users but I'll have to think about how the LED status feature will co-exist with the existing LED feature. The existing feature is for users that want to turn the LED's off. Maybe on System Config we could do drop downs like below.Rethinking about how both features would co-exist, I think LED0 and LED1 shouldn't be set independantly when choosing the "Mount Status" because both LEDs are useful for this purpose. Does it make sense ?
Code:LED0 (Act): [ ] On, Off, Mount Status
LED1 (Pwr): [ ] On, Off, Mount Status
Btw, what Open Source license do you want to attach to your nice script, GPLv3, MIT?
-Tim
Makes sense. Im not sure how to do the UI options cos some users want to control each LED, mainly leaving power ON but turning the activity LED off.
- On/Off (default)
- Mount Status
with the LED0/LED1 toggle switches just below
If the user chooses the Mount Status option then the LED0/LED1 toggle switches could become unavailable, hidden or greyed out, and the LEDs would be disabled by worker.php letting the systemd service handle them. Maybe too complicated, I don't know.