htpdate: Update init script 8104/head
authorJeffery To <jeffery.to@gmail.com>
Fri, 1 Feb 2019 09:21:17 +0000 (17:21 +0800)
committerJeffery To <jeffery.to@gmail.com>
Fri, 1 Feb 2019 09:21:17 +0000 (17:21 +0800)
commitab2e94b294aab7422b9b1580f5c0a71ef5719a28
tree23941cb0845e1aec57fd45a5f312f13665454314
parent83b304c170cc0e42f4d9e32f0a0f6b77631a9d1f
htpdate: 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 corrects a variable name typo ("proxy" instead of
"proxy_host").

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