From 4739251fff915c51c0620cef7842add9c3a12217 Mon Sep 17 00:00:00 2001 From: Tim Niemeyer Date: Mon, 14 Sep 2015 21:58:53 +0200 Subject: [PATCH] cron: disable every 1min the gw selection for 1s This helps batman-adv to find a new and better gateway. Signed-off-by: Tim Niemeyer Reviewed-by: Tobias Klaus --- 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 8684299e..7122f774 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