diff options
author | Paul Spooren <mail@aparcar.org> | 2022-07-30 20:25:32 +0200 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2022-08-13 19:15:46 +0200 |
commit | ead7e5b4c3a4043aa97cec6b08ae2f70f54834d3 (patch) | |
tree | aec4e235e9bbb7cb0cd6a8863551ed8f53b1208a /config/check-uname.sh | |
parent | 67efb6a66146ac80986de928197b8116b2421779 (diff) | |
download | upstream-ead7e5b4c3a4043aa97cec6b08ae2f70f54834d3.tar.gz upstream-ead7e5b4c3a4043aa97cec6b08ae2f70f54834d3.tar.bz2 upstream-ead7e5b4c3a4043aa97cec6b08ae2f70f54834d3.zip |
realtek: skip SFP ports in PoE setup
The function `ucidef_set_poe` receives a list of ports to add to the PoE array.
Since switches have many ports the varibale `lan_list` is passed instead of
writing every single lan port. However, this list includes partly SFP ports
which are unrelated to PoE.
This commits adds the option to add a third parameter to manually exclide
interfaces, usually the last two.
Signed-off-by: Paul Spooren <mail@aparcar.org>
[Replace glob by regex to be more specific about matching characters]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Diffstat (limited to 'config/check-uname.sh')
0 files changed, 0 insertions, 0 deletions