From ddd8e228b10ea49de4bb8affa282787b617f34eb Mon Sep 17 00:00:00 2001 From: Tobias Klaus Date: Wed, 2 Sep 2015 20:36:31 +0200 Subject: [PATCH] start ntpd after 30s to ensure that the interface is up Suggested-by: Sebastian Laubscher Signed-off-by: Tobias Klaus Reviewed-by: Tim Niemeyer --- 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 e67d7753..99c93b07 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