luci-mod-system: add LED interval parameter
authorPaul Donald <redacted>
Mon, 16 Mar 2026 21:55:33 +0000 (22:55 +0100)
committerPaul Donald <redacted>
Mon, 16 Mar 2026 21:55:33 +0000 (22:55 +0100)
As documented

https://openwrt.org/docs/guide-user/base-system/led_configuration

Signed-off-by: Paul Donald <redacted>
modules/luci-mod-system/htdocs/luci-static/resources/view/system/leds.js

index 98e30d6e05181b30607b615ba62606abfcbb8991..f8e36d28aa2b1c33348d414107e636acbeb22563 100644 (file)
@@ -125,6 +125,9 @@ return view.extend({
                        }
                };
 
+               o = s.option(form.Value, 'interval', _('Interval'), _('milliseconds'));
+               o.placeholder = '50';
+
                return m.render();
        }
 });
git clone https://git.99rst.org/PROJECT