rtty: Update init script 8189/head
authorJeffery To <jeffery.to@gmail.com>
Tue, 12 Feb 2019 06:34:38 +0000 (14:34 +0800)
committerJeffery To <jeffery.to@gmail.com>
Tue, 12 Feb 2019 06:34:38 +0000 (14:34 +0800)
commit447d95a048b32afe9d91ff2c50ed49fc1500ea99
tree75b32685a177dd284beae37fa2a9c1126b31cd07
parente0266203e87b990279db29c7c73280d6dd5d3470
rtty: 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.

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