[PATCH] start ntpd after 30s to ensure that the interface is up
tk+ff at meskal.net
tk+ff at meskal.net
Mi Sep 2 20:52:07 CEST 2015
Signed-off-by: Tobias Klaus <tk+ff at meskalero.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..0e73f49 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