babeld: Cleanup old compatibility code in initscript 255/head
authorBaptiste Jonglez <git@bitsofnetworks.org>
Sun, 15 Jan 2017 22:33:32 +0000 (23:33 +0100)
committerBaptiste Jonglez <git@bitsofnetworks.org>
Sun, 15 Jan 2017 23:13:15 +0000 (00:13 +0100)
commit1aacfea7b3ad97fb8c549a66fa7e7526a6419bd2
treebca4a323eab3538af790d183ddb5c75aa680d557
parent6e134b104414dd656c986152aace8f4731f871b8
babeld: Cleanup old compatibility code in initscript

It makes the init script more readable.  It has been more than two years
since babeld 1.5.1, let's hope nobody is still using the old
(undocumented) option names.

Incidentally, this commit fixes support for the "conf_dir" option,
introduced by ac643416dc ("babeld: allow changing alternative
configuration file and directory").  The default value of $OTHERCONFIGDIR
was always used, because the variable was used *before* it was (possibly)
redefined when parsing the UCI config.

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
babeld/Makefile
babeld/files/babeld.init