From 1527f96ca6e196fa17c96fdb3ae520158fa5943f Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Thu, 28 Nov 2013 11:28:40 +0000
Subject: [PATCH] busybox: do not abort sysntpd init if enable_server is unset,
 that variable just controls the server part for relaying NTP

SVN-Revision: 38936
---
 package/utils/busybox/files/sysntpd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/utils/busybox/files/sysntpd b/package/utils/busybox/files/sysntpd
index 6475e04d22..add7762c7f 100755
--- a/package/utils/busybox/files/sysntpd
+++ b/package/utils/busybox/files/sysntpd
@@ -19,7 +19,7 @@ start_service() {
 		return 1
 	}
 
-	[ $enable_server -eq 0 -a -z "$server" ] && return
+	[ -z "$server" ] && return
 
 	procd_open_instance
 	procd_set_param command "$PROG" -n
-- 
GitLab