openwrt/package/system
Jeffery To d13e86d4c2 procd: Add wrapper for uci_validate_section()
This adds a wrapper (uci_load_validate) for uci_validate_section() that
allows callers (through a callback function) to access the values set by
uci_validate_section(), without having to manually declare a
(potentially long) list of local variables.

The callback function receives two arguments when called, the config
section name and the return value of uci_validate_section().

If no callback function is given, then the wrapper exits with the value
returned by uci_validate_section().

This also updates several init scripts to use the new wrapper function.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2019-01-22 09:05:59 +01:00
..
ca-certificates ca-caertificates: remove myself as PKG_MAINTAINER 2018-07-31 00:00:20 +02:00
fstools fstools: media change detection (eg:sdcard) using kernel polling 2019-01-22 08:49:36 +01:00
fwtool
iucode-tool tools: add iucode-tool 2018-02-11 14:39:16 +01:00
mtd mtd: improve check for TRX header being already fixed 2018-07-15 23:27:09 +02:00
openwrt-keyring openwrt-keyring: bundle latest usign certificates 2018-05-20 19:39:12 +02:00
opkg opkg: update to latest Git head 2019-01-19 14:31:46 +01:00
procd procd: Add wrapper for uci_validate_section() 2019-01-22 09:05:59 +01:00
rpcd rpcd: update to latest Git head 2018-12-12 16:33:54 +01:00
ubox procd: Add wrapper for uci_validate_section() 2019-01-22 09:05:59 +01:00
ubus packages: set more explicit ABI_VERSION values 2019-01-19 14:31:51 +01:00
ucert ucert: work around short read 2018-09-18 13:51:09 +02:00
uci uci: bump to source date 2018-08-11 2018-08-11 12:04:31 +00:00
usign treewide: replace LEDE_GIT with PROJECT_GIT 2018-01-10 21:27:32 +01:00
zram-swap zram-swap: bump pkg version 2018-09-29 17:23:11 +02:00