gpsd: Update init script
authorJeffery To <redacted>
Mon, 11 Feb 2019 14:05:23 +0000 (22:05 +0800)
committerJeffery To <redacted>
Mon, 11 Feb 2019 14:17:06 +0000 (22:17 +0800)
commitbd5a6155b1e76b3843f4a8b0dccca90e667953e8
treecc34780a92ea8d287667c2cfc0b6513a4325572e
parent1d4081dd4c43ab51d8a6393c0c6c57ba9a79b80c
gpsd: 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 <redacted>
utils/gpsd/Makefile
utils/gpsd/files/gpsd.init
git clone https://git.99rst.org/PROJECT