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)
commit91f98f17565d77b2bd2f942b21da8a690eba87e0
tree2aeeda6bada90ff41671103a37d6f8a26b8e233a
parent7c32f4574913017520de356a674b979b83d33f6f
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