summaryrefslogtreecommitdiff
path: root/package/busybox/files/ntpd.init
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-13 18:10:41 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-13 18:10:41 +0100
commit5366aa37eca50b97c477d423f3417c6f4a504f8f (patch)
treed937815dec127df8476acae2938b42f9aad050da /package/busybox/files/ntpd.init
parent26bc6c9fe57e4e516cd4f3a6d133ceea84a1a9c3 (diff)
busybox: fix blocking ntpd when DNS isn't available
Diffstat (limited to 'package/busybox/files/ntpd.init')
-rw-r--r--package/busybox/files/ntpd.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/busybox/files/ntpd.init b/package/busybox/files/ntpd.init
index c79d6c4bd..15c460dcc 100644
--- a/package/busybox/files/ntpd.init
+++ b/package/busybox/files/ntpd.init
@@ -11,7 +11,7 @@ autostart)
exec sh $0 start
;;
start)
- /usr/sbin/ntpd $ntpd_flags
+ /usr/sbin/ntpd $ntpd_flags >/dev/null 2>&1 &
;;
stop)
kill $(pgrep -f /usr/sbin/ntpd)