Re: [OpenWrt-Devel] [PATCH] Provide a global section_enabled function

2011-11-19 Thread Nico
Hi Michael & the List, On Sat, Nov 19, 2011 at 9:43 PM, Michael Heimpold wrote: > Since various packages implement such a function already on their own, > it seems reasonable to provide this a globally available function. Yeah, it's on my todo with a couple of other functions, like append_bool,

Re: [OpenWrt-Devel] [PATCH] Provide a global section_enabled function

2011-11-19 Thread Gioacchino Mazzurco
+1 I think in every uci config file every section should be enbled/disabled by a simply boolean switch with enabled as default value 2011/11/19 Michael Heimpold : > Since various packages implement such a function already on their own, > it seems reasonable to provide this a globally available fu

[OpenWrt-Devel] [PATCH] Provide a global section_enabled function

2011-11-19 Thread Michael Heimpold
Since various packages implement such a function already on their own, it seems reasonable to provide this a globally available function. Signed-off-by: Michael Heimpold Index: package/base-files/files/lib/functions.sh === --- packa