realtek-poe: build default config from board.json
authorMartin Kennedy <redacted>
Fri, 13 Dec 2024 21:41:41 +0000 (16:41 -0500)
committerRobert Marko <redacted>
Tue, 10 Jun 2025 19:35:54 +0000 (21:35 +0200)
commitc0a839e5ad6e74f3fb32885bd9324bd9daecc810
treeea32dee6f62a01bb18c921dcfddcaedb81d1639b
parenta987403f979acd5093d72019f78faaeddf720d08
realtek-poe: build default config from board.json

This adjustment makes a compromise between those that would prefer not
to complicate the realtek-poe.git source repository and those who want
to have PoE work out-of-the-box on Realtek switches -- see
realtek-poe.git, commit 2df137ee457155 ("realtek-poe/openwrt: Generate
config from board.json")

Switches previously booted with OpenWrt will have an /etc/config/poe
file already present, and thus the uci-default shall not take effect.

Signed-off-by: Martin Kennedy <redacted>
utils/realtek-poe/Makefile
utils/realtek-poe/files/etc/uci-defaults/30-poe [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT