1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-17 04:33:59 +02:00
gluon-packages/net/batman-adv-legacy/files/etc/hotplug.d/net/99-batman-adv-legacy

13 lines
189 B
Plaintext
Raw Normal View History

2014-01-24 04:58:22 +01:00
#!/bin/sh
. /lib/batman-adv-legacy/config.sh
2014-01-24 04:58:22 +01:00
bat_load_module
config_load batman-adv
case "$ACTION" in
add)
[ -d /sys/class/net/$INTERFACE/mesh/ ] && bat_config "$INTERFACE"
;;
esac