base-files: some /lib/network/config.sh refactoring
authorFelix Fietkau <nbd@openwrt.org>
Fri, 7 Aug 2009 00:08:06 +0000 (00:08 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 7 Aug 2009 00:08:06 +0000 (00:08 +0000)
commitc730e99c80af98da0723dc54681df2e6f8297ff1
tree6e1ddbdeb6e002de6fa7525b8c77a52251d9386b
parent29f0bcc6b68c0ac368cd9ef981dfbf7a6f284fed
base-files: some /lib/network/config.sh refactoring

* Localize a lot more variables than before.
* Do stuff or localize variables at later points or inner blocks
  so less commands are executed in some cases.
* Use the default option of config_get where it makes sense.

Signed-off-by: Malte S. Stretz <mss@apache.org>
SVN-Revision: 17160
package/base-files/files/lib/network/config.sh