Skip to content

Commit

Permalink
luci-mod-system: add speed and duplex triggers
Browse files Browse the repository at this point in the history
Many devices have LEDs to signal a specific link speed.
They are incorrectly displayed in LUCI when they are defined.
This commit adds the missing speed and duplex triggers.

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
  • Loading branch information
abajk authored and systemcrash committed Feb 25, 2025
1 parent 3bac133 commit 3e45fc6
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ return baseclass.extend({
o.modalonly = true;
o.depends('trigger', 'netdev');
o.value('link', _('Link On'));
o.value('link_10', _('Link 10M On'));
o.value('link_100', _('Link 100M On'));
o.value('link_1000', _('Link 1G On'));
o.value('link_2500', _('Link 2.5G On'));
o.value('link_5000', _('Link 5G On'));
o.value('link_10000', _('Link 10G On'));
o.value('half_duplex', _('Half Duplex'));
o.value('full_duplex', _('Full Duplex'));
o.value('tx', _('Transmit'));
o.value('rx', _('Receive'));
}
Expand Down

0 comments on commit 3e45fc6

Please sign in to comment.