mirror of https://github.com/hak5/openwrt-owl.git
parent
482b8385d2
commit
09df0523fd
|
@ -170,8 +170,6 @@ 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