squid: Update init script
authorJeffery To <redacted>
Mon, 4 Feb 2019 06:30:36 +0000 (14:30 +0800)
committerJeffery To <redacted>
Mon, 4 Feb 2019 06:30:36 +0000 (14:30 +0800)
commit37df5db70c8b30b4988061401a123b8c2b295cbe
treeeab0db43ce1cf035bb805e7f5128d508cff82c45
parent4f41588c299a358f969660425908c946e92b15ee
squid: 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 removes some unnecessary curly brackets.

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