summaryrefslogtreecommitdiff
path: root/package/utils/busybox/files
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
commit1527f96ca6e196fa17c96fdb3ae520158fa5943f (patch)
tree830c1de3c18166c799cbc281c48c7134abf5c7b6 /package/utils/busybox/files
parent387761e2fc301ae98e30037d6c9065706ee6662d (diff)
downloadmtk-20170518-1527f96ca6e196fa17c96fdb3ae520158fa5943f.zip
mtk-20170518-1527f96ca6e196fa17c96fdb3ae520158fa5943f.tar.gz
mtk-20170518-1527f96ca6e196fa17c96fdb3ae520158fa5943f.tar.bz2
busybox: do not abort sysntpd init if enable_server is unset, that variable just controls the server part for relaying NTP
SVN-Revision: 38936
Diffstat (limited to 'package/utils/busybox/files')
-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 6475e04..add7762 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