diff options
-rwxr-xr-x | meta-networking/recipes-support/ntp/ntp/ntpdate | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp/ntpdate b/meta-networking/recipes-support/ntp/ntp/ntpdate index 17b64d1335..be3bacfcd1 100755 --- a/meta-networking/recipes-support/ntp/ntp/ntpdate +++ b/meta-networking/recipes-support/ntp/ntp/ntpdate | |||
@@ -52,3 +52,8 @@ if [ -x /usr/bin/lockfile-create ] ; then | |||
52 | fi | 52 | fi |
53 | 53 | ||
54 | ) & | 54 | ) & |
55 | |||
56 | # wait for all subprocesses to finish | ||
57 | # this is required when using systemd service as ntpd will start before ntpdate finishes | ||
58 | # and results in a bind error (port 123) | ||
59 | wait | ||