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

Tobias Klaus tk+ff at meskal.net
Mo Sep 21 13:50:24 CEST 2015


Hey sieht auch ganz gut aus. Schade dass es scheinbar gerade nicht besser lösbar ist. :-(

Reviewed-by: Tobias Klaus <tk+ff at meskal.net>


Am Montag, 14. September 2015, 21:58:53 schrieb Tim Niemeyer:
> 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
>  
> 




Mehr Informationen über die Mailingliste franken-dev