[PATCH v2] start ntpd after 30s to ensure that the interface is up
Tim Niemeyer
tim.niemeyer at mastersword.de
Mi Sep 2 21:16:55 CEST 2015
Schaut gut aus. :)
Am Mittwoch, den 02.09.2015, 21:07 +0200 schrieb tk+ff at meskal.net:
> Signed-off-by: Tobias Klaus <tk+ff at meskalero.de>
Reviewed-by: Tim Niemeyer <tim.niemeyer at mastersword.de>
> ---
> bsp/default/root_file_system/etc/rc.local.tpl | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/bsp/default/root_file_system/etc/rc.local.tpl b/bsp/default/root_file_system/etc/rc.local.tpl
> index e67d775..99c93b0 100755
> --- a/bsp/default/root_file_system/etc/rc.local.tpl
> +++ b/bsp/default/root_file_system/etc/rc.local.tpl
> @@ -28,8 +28,8 @@ fi
> # collect environment info and write to dot-script
> /etc/environment.sh > /tmp/environment
>
> -# Starting NTP-Client Daemon
> -ntpd -p ${NTPD_IP}
> +# Starting NTP-Client Daemon after 30s to ensure that the interface is up
> +( sleep 30 ; ntpd -p ${NTPD_IP} ) &
>
> . /etc/firewall.user
>
> --
> 2.5.0
>
Mehr Informationen über die Mailingliste franken-dev