mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 05:11:46 +02:00
[backfire] merge r21595
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21596 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f641cda365
commit
c4c903822d
@ -170,6 +170,8 @@ prepare_interface() {
|
||||
# result in another setup_interface() call, so we simply stop processing
|
||||
# the current event at this point.
|
||||
}
|
||||
|
||||
[ -n "$macaddr" ] && ifconfig "$iface" down 2>/dev/null >/dev/null
|
||||
ifconfig "$iface" ${macaddr:+hw ether "${macaddr}"} up 2>/dev/null >/dev/null
|
||||
return 1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user