clamav: Update init scripts
authorJeffery To <redacted>
Fri, 1 Feb 2019 08:39:34 +0000 (16:39 +0800)
committerJeffery To <redacted>
Fri, 1 Feb 2019 08:39:34 +0000 (16:39 +0800)
commit9a7ffc77033cccc3bc5143a2fac3f0006120f7ae
tree5b1e8bfdfcfa997bc492786b6a81de88d141bc89
parent83b304c170cc0e42f4d9e32f0a0f6b77631a9d1f
clamav: Update init scripts

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 removes some unnecessary curly brackets.

Signed-off-by: Jeffery To <redacted>
net/clamav/Makefile
net/clamav/files/clamav.init
net/clamav/files/freshclam.init
git clone https://git.99rst.org/PROJECT