b5d4c2a07def0ab2fcbd6047a5d504fd035a35f6
[openwrt/staging/mkresin.git] / package / utils / busybox / patches / 600-allow-ntpd-non-root.patch
1 --- a/networking/ntpd.c
2 +++ b/networking/ntpd.c
3 @@ -2414,9 +2414,6 @@ static NOINLINE void ntp_init(char **arg
4
5 srand(getpid());
6
7 - if (getuid())
8 - bb_error_msg_and_die(bb_msg_you_must_be_root);
9 -
10 /* Set some globals */
11 G.discipline_jitter = G_precision_sec;
12 G.stratum = MAXSTRAT;