mirror of https://github.com/hak5/openwrt-owl.git
network/uqmi: pipe the output off qmi_wds_stop to /dev/null
Pipe uqmi output from qmi_wds_stop function into /dev/null. This will supress the following output in proto teardown. netifd: wwan (x): "No effect" netifd: wwan (x): Command failed: Permission denied Signed-off-by: Florian Eckert <fe@dev.tdt.de>openwrt-18.06
parent
9ce5127a49
commit
4a243f7a09
|
@ -279,10 +279,15 @@ qmi_wds_stop() {
|
|||
|
||||
uqmi -s -d "$device" --set-client-id wds,"$cid" \
|
||||
--stop-network 0xffffffff \
|
||||
--autoconnect > /dev/null
|
||||
--autoconnect > /dev/null 2>&1
|
||||
|
||||
[ -n "$pdh" ] && uqmi -s -d "$device" --set-client-id wds,"$cid" --stop-network "$pdh"
|
||||
uqmi -s -d "$device" --set-client-id wds,"$cid" --release-client-id wds
|
||||
[ -n "$pdh" ] && {
|
||||
uqmi -s -d "$device" --set-client-id wds,"$cid" \
|
||||
--stop-network "$pdh" > /dev/null 2>&1
|
||||
}
|
||||
|
||||
uqmi -s -d "$device" --set-client-id wds,"$cid" \
|
||||
--release-client-id wds > /dev/null 2>&1
|
||||
}
|
||||
|
||||
proto_qmi_teardown() {
|
||||
|
|
Loading…
Reference in New Issue