diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-03-24 23:42:09 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-03-24 23:42:09 +0000 |
commit | 7e6c947e4b2d3332846d3ae091c884d3abe654b6 (patch) | |
tree | 82ca1378641500e5f514976a1fe1afa049dc1414 /package/base-files/files/lib/network/config.sh | |
parent | 28b9fea4e759470fd3e1f285b228b7101b15b18b (diff) | |
download | mtk-20170518-7e6c947e4b2d3332846d3ae091c884d3abe654b6.zip mtk-20170518-7e6c947e4b2d3332846d3ae091c884d3abe654b6.tar.gz mtk-20170518-7e6c947e4b2d3332846d3ae091c884d3abe654b6.tar.bz2 |
sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpa
SVN-Revision: 15028
Diffstat (limited to 'package/base-files/files/lib/network/config.sh')
-rwxr-xr-x | package/base-files/files/lib/network/config.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index 9b43205..29b7fe5 100755 --- a/package/base-files/files/lib/network/config.sh +++ b/package/base-files/files/lib/network/config.sh @@ -231,6 +231,7 @@ setup_interface() { # Interface settings config_get mtu "$config" mtu config_get macaddr "$config" macaddr + macaddr="${macaddr:-$3}" grep "$iface:" /proc/net/dev > /dev/null && \ $DEBUG ifconfig "$iface" down && \ $DEBUG ifconfig "$iface" ${macaddr:+hw ether "$macaddr"} ${mtu:+mtu $mtu} up |