4ee2c1e736
Signed-off-by: Gui Iribarren <gui@altermundi.net> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> git-svn-id: svn://svn.openwrt.org/openwrt/packages@34385 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
245 B
Bash
13 lines
245 B
Bash
#!/bin/sh
|
|
|
|
. /lib/batman-adv/config.sh
|
|
|
|
bat_load_module
|
|
config_load batman-adv
|
|
|
|
case "$ACTION" in
|
|
ifup)
|
|
[ -d /sys/class/net/$DEVICE/batman_adv/ ] && config_foreach bat_add_interface mesh "$DEVICE"
|
|
;;
|
|
esac
|