Also fix hotplug scripts to load batman-adv module when necessary.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@31317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* call bat_config() instead of config_bat() (which does not exist)
* support ap isolation config option
* remove /etc/rc.common from script since it is not an init script anymore
Signed-off-by: Filippo Sallemi <tonyputi@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30457 3c298f89-4303-0410-b956-a3cf2f4a3e73
Also replace init script with hotplug based set of scripts.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30272 3c298f89-4303-0410-b956-a3cf2f4a3e73
Forgot to add this one during the last round.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28474 3c298f89-4303-0410-b956-a3cf2f4a3e73
Also split init script into lib and init script as suggested by
Filippo Sallemi to allow including the lib from a hotplug script.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28066 3c298f89-4303-0410-b956-a3cf2f4a3e73
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>
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26719 3c298f89-4303-0410-b956-a3cf2f4a3e73