nft-qos: Update init script
authorJeffery To <jeffery.to@gmail.com>
Tue, 12 Feb 2019 08:31:59 +0000 (16:31 +0800)
committerJeffery To <jeffery.to@gmail.com>
Tue, 12 Feb 2019 08:31:59 +0000 (16:31 +0800)
commita0b51e9bd6ee03b4d13c01bc970c1318552671cf
tree7cab5eba50b6e35a5ac628c79af1c4348e33b322
parentf9b16dea51b34e6fbced77a81096cf1fb82f39ce
nft-qos: Update init script

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 adds a validate section to service_triggers(), and fixes some
variable name typos in qosdef_init_static().

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
net/nft-qos/Makefile
net/nft-qos/files/lib/dynamic.sh
net/nft-qos/files/lib/priority.sh
net/nft-qos/files/lib/static.sh
net/nft-qos/files/nft-qos-dynamic.hotplug
net/nft-qos/files/nft-qos.init