summaryrefslogtreecommitdiff
path: root/files/etc/hotplug.d/iface/22-wan_led
diff options
context:
space:
mode:
authoregon_ffj <egon@freifunk-jena.de>2011-06-20 06:03:51 (GMT)
committeregon_ffj <egon@freifunk-jena.de>2011-06-20 06:03:51 (GMT)
commit38f7a87b51271f0118f3f3c72a020d884099e4a9 (patch)
treee4eb379e4e2d9d0b9cc28d17ede32719dc192c8b /files/etc/hotplug.d/iface/22-wan_led
parentf10e8c32205b66814fc772c97e20305e1c0ef869 (diff)
* restart batman-adv if wan goes down
Diffstat (limited to 'files/etc/hotplug.d/iface/22-wan_led')
-rw-r--r--files/etc/hotplug.d/iface/22-wan_led1
1 files changed, 1 insertions, 0 deletions
diff --git a/files/etc/hotplug.d/iface/22-wan_led b/files/etc/hotplug.d/iface/22-wan_led
index 3b65779..097c439 100644
--- a/files/etc/hotplug.d/iface/22-wan_led
+++ b/files/etc/hotplug.d/iface/22-wan_led
@@ -7,5 +7,6 @@ case "${ACTION:-ifup}" in
gpioctl dirout 3
uci set batman-adv.bat0.gw_mode=client
uci commit batman-adv
+ /etc/init.d/batman-adv restart
;;
esac
contact: Jan Huwald // Impressum