aboutsummaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorSander Vanheule <sander@svanheule.net>2024-01-24 10:49:41 +0100
committerSander Vanheule <sander@svanheule.net>2024-02-12 20:46:51 +0100
commit7cbfe5654d6eeda211edb0fd6938177cbe32c5e0 (patch)
treec1597c3fbe96343ed755341792818869a307a56b /package/base-files
parent356a0b86ebe111609001cfb3f553ca43182d551b (diff)
realtek: move port filtering out of uci_set_poe()
uci_set_poe() now performs two duties: filtering the list of device ports to exclude non-PoE ports, and generating the PoE related device config. Extract the port filtering to an external function, which is made a bit more readable by the use of 'sort -V [-r] | uniq -u' to filter duplicate entries out of a (reverse) version sorted list. Signed-off-by: Sander Vanheule <sander@svanheule.net>
Diffstat (limited to 'package/base-files')
0 files changed, 0 insertions, 0 deletions