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