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, 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@lists.openwrt.org 
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to