add basic interface alias support. for now (since we don't use ip in our network...
authorFelix Fietkau <nbd@openwrt.org>
Thu, 7 Aug 2008 15:28:48 +0000 (15:28 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 7 Aug 2008 15:28:48 +0000 (15:28 +0000)
commitc05eb4ba633caf6485c8df6544a28c1548b7bc44
tree1041b940cad714ab66babacec39f42ced15f57c2
parent9c8bb0241fd3a2e8eef36f5cb1187a11f8a8b488
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

SVN-Revision: 12241
package/base-files/files/lib/network/config.sh
package/base-files/files/sbin/ifdown