snort: Update init script 8119/head
authorJeffery To <jeffery.to@gmail.com>
Sun, 3 Feb 2019 11:20:44 +0000 (19:20 +0800)
committerJeffery To <jeffery.to@gmail.com>
Sun, 3 Feb 2019 11:20:44 +0000 (19:20 +0800)
commit0fb4847b4b8bdcc2f17d37d78ee3d7317a3d8a8b
tree41689d8de6c3cb2857a965b7f38c00d306dea8de
parentfdc5c5be604cbb8b9d03da4e47a137acea46deea
snort: 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 fixes a variable name typo ("CONFIGFILE" instead of
"config_file").

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