base-files: some /lib/network/config.sh refactoring
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 7 Aug 2009 00:08:06 +0000 (00:08 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 7 Aug 2009 00:08:06 +0000 (00:08 +0000)
commit282aff26252291445e336bb8dc8d46dfc573eee5
tree6e1ddbdeb6e002de6fa7525b8c77a52251d9386b
parente4895b7178ed1f4de4d98e94a2f7eb11a1b58fe2
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17160 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/base-files/files/lib/network/config.sh