pptpd: Update init script
authorJeffery To <jeffery.to@gmail.com>
Sun, 3 Feb 2019 11:10:10 +0000 (19:10 +0800)
committerJeffery To <jeffery.to@gmail.com>
Sun, 3 Feb 2019 11:10:10 +0000 (19:10 +0800)
commitf9386270dbc86e5105a8432ec1273220bcd509d8
treea77797d7906720ac89f055b4e95f15f2a34b5fd4
parentfdc5c5be604cbb8b9d03da4e47a137acea46deea
pptpd: 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 service_triggers() function and removes some
unnecessary curly brackets.

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