From: jow Date: Thu, 28 Nov 2013 11:28:40 +0000 (+0000) Subject: busybox: do not abort sysntpd init if enable_server is unset, that variable just... X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=6dae403ab8c1035bde3edf0170a31b30d57aab40 busybox: do not abort sysntpd init if enable_server is unset, that variable just controls the server part for relaying NTP git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38936 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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