add basic interface alias support.
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 7 Aug 2008 15:28:48 +0000 (15:28 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 7 Aug 2008 15:28:48 +0000 (15:28 +0000)
commit9fb77da4515a788a2de063801fcbfbe99d7475ec
treea3be394e8414947baa078f3dce89a36bd00ab714
parent9c60f181c1ace67fd8e98d668f6391e76959a864
add basic interface alias support.
for now (since we don't use ip in our network scripts yet), it adds :1, :2, ... alias interfaces
this will change when we add support for the ip utility, but the config format will remain the same.
example:

config alias     test
option interface lan
option ipaddr    192.168.1.1
option netmask   255.255.0.0

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12241 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/base-files/files/lib/network/config.sh
package/base-files/files/sbin/ifdown