aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackage/utils/busybox/files/sysntpd2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/busybox/files/sysntpd b/package/utils/busybox/files/sysntpd
index 98260be608..e693e4031c 100755
--- a/package/utils/busybox/files/sysntpd
+++ b/package/utils/busybox/files/sysntpd
@@ -45,7 +45,7 @@ start_service() {
[ $use_dhcp = 1 ] && get_dhcp_ntp_servers "$dhcp_interface"
- [ -z "$server" ] && return
+ [ -z "$server" -a "$enable_server" = "0" ] && return
procd_open_instance
procd_set_param command "$PROG" -n -N