batman-adv: init script tries to retrieve interfaces from uci
authorMarek Lindner <lindner_marek@yahoo.de>
Tue, 19 Apr 2011 12:49:37 +0000 (12:49 +0000)
committerMarek Lindner <lindner_marek@yahoo.de>
Tue, 19 Apr 2011 12:49:37 +0000 (12:49 +0000)
commite2f4d98935d3e9eb50a32da8bc5bf8aa756d0422
tree9d9c6e84a9f4bde67cc7fc97c2907ef9fe8bda46
parent404b613d96ac79c873ba8a6cb8796e06359b9593
batman-adv: init script tries to retrieve interfaces from uci

The batman-adv init script will query uci (network.$iface.ifname)
to retrieve the interface name to re-use the existing network
configuration system.
The default iface configuration (batman-adv.bat0.interfaces) is
set to 'mesh' which allows to start batman-adv as soon as the
network configuration contains a 'mesh' stanza.

Signed-off-by: Filippo Sallemi <tonyputi@gmail.com>
Signed-off-by: Gioacchino Mazzurco <gmazzurco89@gmail.com>
SVN-Revision: 26719
net/batman-adv/files/etc/config/batman-adv
net/batman-adv/files/etc/init.d/batman-adv