aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-11-28 11:28:40 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-11-28 11:28:40 +0000
commit2a53dc4422971f39c1dadefd1a991d9701ec1c9a (patch)
tree9200c6191e485ab0cc67aaa4570515fc6fb29950 /package/utils
parent8ad86b6a1eaab925d1a075316610e97586865939 (diff)
downloadmaster-187ad058-2a53dc4422971f39c1dadefd1a991d9701ec1c9a.tar.gz
master-187ad058-2a53dc4422971f39c1dadefd1a991d9701ec1c9a.tar.bz2
master-187ad058-2a53dc4422971f39c1dadefd1a991d9701ec1c9a.zip
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
Diffstat (limited to 'package/utils')
-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 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