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

John Crispin john at phrozen.org
Thu Jun 26 09:05:00 EDT 2014



On 26/06/2014 14:31, Bastian Bittorf wrote:
> * Luka Perkov <luka at 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

config_get_bool ... however there is not equivalent for the validate
api so far.





> _______________________________________________ openwrt-devel
> mailing list openwrt-devel at lists.openwrt.org 
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list