aria2: Update init script
authorJeffery To <jeffery.to@gmail.com>
Fri, 1 Feb 2019 07:46:15 +0000 (15:46 +0800)
committerJeffery To <jeffery.to@gmail.com>
Wed, 27 Mar 2019 16:05:43 +0000 (00:05 +0800)
commit3f247ef4557acad3ba181779377ebc133915a76f
tree537bb401fa759f51d298517b13e0304ccbf1c361
parentde5efc91b304c13601403436c130a92d5b8f6805
aria2: 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 lets procd trigger the validation function directly, and
removes some unnecessary curly brackets.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
net/aria2/Makefile
net/aria2/files/aria2.init