start ntpd after 30s to ensure that the interface is up

Suggested-by: Sebastian Laubscher <sebastian@laubscher.name>
Signed-off-by: Tobias Klaus <tk+ff@meskal.net>
Reviewed-by: Tim Niemeyer <tim.niemeyer@mastersword.de>
This commit is contained in:
Tobias Klaus 2015-09-02 20:36:31 +02:00
parent f0bf6f2f5c
commit ddd8e228b1
1 changed files with 2 additions and 2 deletions

View File

@ -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