On Tue, Oct 28, 2008 at 12:28 PM, <[EMAIL PROTECTED]> wrote:
> I have the following piece of uci configuration file in my
> application (a very streamlined web based reporting interface):
config_foreach, I believe...
E.g. (assuming config in /etc/config/reporter):
#!/bin/sh /etc/rc.common
setup_page () {
local cfg="${1}"
config_get menu "${cfg}" menu
printf "menu [%s]\n" "${menu}"
}
boot () {
config_load reporter
config_foreach setup_page page
}
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel