I am compiling V19.07.4 just fine.
The Ubiquiti NS-5AC (https://openwrt.org/toh/ubiquiti/ubiquiti_nanostation_ac) has a secondary PoE port that is controlled by this section in /etc/config/system
config gpio_switch 'poe_passthrough' option name 'PoE Passthrough' option gpio_pin '3' option value '0'
But the current Luci does not allow editing of this section.
So my objective is to add a checkbox to the System/System page for that purpose.
I am a pretty good programmer ... but a bit lost working out:
- which file to edit to add my checkbox
- which file(s) to edit to cause the config file to be edited when clicking [Save & Apply] or [Save]
Any advice to get me started on the right track appreciated.