mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
map-agent: map-dynamic-backhaul: pass macaddr when setting uplink
This commit is contained in:
parent
a1d535058d
commit
d7e22b922b
1 changed files with 2 additions and 1 deletions
|
|
@ -90,7 +90,8 @@ if [ "$LINK" = "up" ]; then
|
|||
config_foreach remove_from_bridge bsta
|
||||
config_foreach update_bstas bsta down
|
||||
|
||||
/lib/wifi/multiap set_uplink "eth" "$PORT"
|
||||
hwaddr="$(ifconfig $PORT | grep -i hwaddr | awk '{print $5}' | awk '{print tolower($0)}')"
|
||||
/lib/wifi/multiap set_uplink "eth" "$PORT" "$hwaddr"
|
||||
else
|
||||
/lib/wifi/multiap unset_uplink "eth"
|
||||
#rm -f "$map_bh_file"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue