mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
map-agent: hotplug: topology-discovery: redirect ubus invokes to dev/null
This commit is contained in:
parent
3f59dd1c89
commit
083960ee2e
1 changed files with 2 additions and 2 deletions
|
|
@ -15,13 +15,13 @@ rc="$?"
|
|||
issue_discovery() {
|
||||
local iface="$1"
|
||||
|
||||
res=$(ubus -t5 call ieee1905 buildcmdu "{\"type\":0, \"ifname\":\"${iface}\"}")
|
||||
res=$(ubus -t5 call ieee1905 buildcmdu "{\"type\":0, \"ifname\":\"${iface}\"}" > /dev/null 2>&1)
|
||||
json_load "$res" > /dev/null 2>&1
|
||||
json_get_var data data
|
||||
|
||||
[ "$data" == "" ] && return
|
||||
|
||||
ubus call ieee1905 cmdu "{\"dst\":\"01:80:c2:00:00:13\", \"type\":0, \"data\":\"${data}\"}"
|
||||
ubus call ieee1905 cmdu "{\"dst\":\"01:80:c2:00:00:13\", \"type\":0, \"data\":\"${data}\"})" > /dev/null 2>&1
|
||||
}
|
||||
|
||||
process_vlans() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue