mirror of
https://github.com/openwrt/packages.git
synced 2025-12-19 17:11:21 +00:00
This replaces the use of uci_validate_section() with uci_load_validate(), which removes the need to declare local variables for every config option. This also lets procd trigger the validation function directly, and removes some unnecessary curly brackets. Signed-off-by: Jeffery To <jeffery.to@gmail.com>