Hi all,
i thought it was a good idea to move the functions "start_mesh" and "stop_mesh" from /etc/init.d/batman-adv script to a new file in openwrt style "/lib/batman-adv/config.sh". With this improvment it possible to recycle this two function to operate with an hotplug script so when network restart, all batman interface will be reconfigured automatically and I just work to do this. In this mail you can find batman-adv initscript updated to work in this way and the batman-adv library file that must be located in /lib/batman-adv/. Any comment are apprecciated
-- Filippo Sallemi