1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 22:18:16 +02:00
openwrt/package/network/services/dropbear
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
..
files procd: Add wrapper for uci_validate_section() 2019-01-22 09:05:59 +01:00
patches dropbear: backport upstream fix for CVE-2018-15599 2018-08-24 15:25:26 +02:00
Config.in dropbear: make ssh compression support configurable 2017-09-28 21:47:16 +02:00
Makefile dropbear: fix dropbear startup issue 2018-12-18 19:43:22 +01:00