On 2013-09-15 10:23 PM, Bastian Bittorf wrote: > * Felix Fietkau <n...@openwrt.org> [15.09.2013 21:59]: >> > maybe i misunderstand uci - IMHO the question is: >> > how can i name an anonymous section? >> From the command line help: >> rename <config>.<section>[.<option>]=<name> > > 8-) ok, i could believe it - so one can NOT name a section, > but must generate an unamed/anonymous section and afterwards > rename this like: > > uci add network alias > uci set network.@alias[-1].interface=lan > ... > uci set network.@route[-1].interface="agoodname" > > > uci add network route > uci set network.@route[-1].interface="agoodname" > ... > > it's working and we send congratulations for > breaking the barrier today with r38000++ of OpenWrt 8-) You can also do 'uci set network.agoodname=alias'
- Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel