gnunet: work-around config sections naming
authorDaniel Golle <daniel@makrotopia.org>
Fri, 4 Dec 2015 17:56:08 +0000 (18:56 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 4 Dec 2015 18:00:35 +0000 (19:00 +0100)
commit22c907b0e1a90fa91abbd359aa4ed43c83f6abae
tree678a952722a01cf77d3836993320598be66835aa
parent9de00726baabdf0aa6a63ef6b393d88acf9fc840
gnunet: work-around config sections naming

gnunet's config section may contain dashes '-' which isn't an
allowed character for sections in UCI.
Thus replace the first underscore with a dash which in gnunet-config
sections, as that happends to be work for all currently used sections.
e.g. this now allows accessing sections like transport-http_server via
an UCI sections called transport_http_server as well as namestore-flat
using an UCI section called namestore_flat.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
net/gnunet/Makefile
net/gnunet/files/gnunet.init