[PATCH 2/2] cron: disable every 1min the gw selection for 1s

Tim Niemeyer tim.niemeyer at mastersword.de
Mo Sep 14 21:58:53 CEST 2015


This helps batman-adv to find a new and better gateway.

Signed-off-by: Tim Niemeyer <tim.niemeyer at mastersword.de>
---

 bsp/default/root_file_system/etc/crontabs/root | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bsp/default/root_file_system/etc/crontabs/root b/bsp/default/root_file_system/etc/crontabs/root
index 8684299..7122f77 100644
--- a/bsp/default/root_file_system/etc/crontabs/root
+++ b/bsp/default/root_file_system/etc/crontabs/root
@@ -1,4 +1,5 @@
 */5 * * * *	sh /etc/fastdstart.sh; sh /etc/nodewatcher.sh; sh /etc/configurator.sh; sh /etc/wlanwatchdog.sh >> /var/log/wlanwatchdog.log 2>&1
+*/1 * * * * /usr/sbin/batctl gw off; sleep 1; /usr/sbin/batctl gw client
 
 #15 01 * * *	rdate -s time.fu-berlin.de > /dev/null
 
-- 
2.1.4




Mehr Informationen über die Mailingliste franken-dev