[OpenWrt-Devel] [PATCH 2/2] busybox: use ntp enabled config option

2014-06-26 Thread Luka Perkov
Even if enabled option is missing from ntp configuration we are still keeping default behavior. Signed-off-by: Luka Perkov l...@openwrt.org --- package/utils/busybox/Makefile | 4 ++-- package/utils/busybox/files/sysntpd | 6 -- 2 files changed, 6 insertions(+), 4 deletions(-) diff

Re: [OpenWrt-Devel] [PATCH 2/2] busybox: use ntp enabled config option

2014-06-26 Thread Bastian Bittorf
* Luka Perkov l...@openwrt.org [26.06.2014 14:24]: + [ $enabled = 0 ] return This can also be 'true' or 'false' or 'disabled'. I see, that other packages are also doing it like this, but i remeber there was an uci-thingy() doing that, wasn't it? bye, bastian

Re: [OpenWrt-Devel] [PATCH 2/2] busybox: use ntp enabled config option

2014-06-26 Thread John Crispin
On 26/06/2014 14:31, Bastian Bittorf wrote: * Luka Perkov l...@openwrt.org [26.06.2014 14:24]: +[ $enabled = 0 ] return This can also be 'true' or 'false' or 'disabled'. I see, that other packages are also doing it like this, but i remeber there was an uci-thingy() doing that,