batman-adv: init script tries to retrieve interfaces from uci
authorMarek Lindner <[email protected]>
Tue, 19 Apr 2011 12:49:37 +0000 (12:49 +0000)
committerMarek Lindner <[email protected]>
Tue, 19 Apr 2011 12:49:37 +0000 (12:49 +0000)
commite83e02a5184f36ebe45b110144b01d8adab3544b
tree1ad9daa209eb0712d15fc017357cde85bdde79b6
parent70711e84084a66da69c5d4d87c809f8aa8659ca8
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 <[email protected]>
Signed-off-by: Gioacchino Mazzurco <[email protected]>
SVN-Revision: 26719
net/batman-adv/files/etc/config/batman-adv
net/batman-adv/files/etc/init.d/batman-adv