From fd077ff33574ce7e5dca68e8bfd6df1f6d41b21a Mon Sep 17 00:00:00 2001 From: Jakob Olsson <jakob.olsson@iopsys.eu> Date: Fri, 23 Aug 2019 16:54:26 +0200 Subject: [PATCH] iopsys_wifi_addons: remove excess debug prints --- lq-wave-300_5_x/files/lib/wifi/iopsys_wifi_addons.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lq-wave-300_5_x/files/lib/wifi/iopsys_wifi_addons.sh b/lq-wave-300_5_x/files/lib/wifi/iopsys_wifi_addons.sh index 181e2fc..c70b433 100755 --- a/lq-wave-300_5_x/files/lib/wifi/iopsys_wifi_addons.sh +++ b/lq-wave-300_5_x/files/lib/wifi/iopsys_wifi_addons.sh @@ -4,8 +4,6 @@ remove_from_networks() { local iface=$1 local ifname="" - echo removing iface=$iface > /dev/console - for net in $(uci show network | grep network.*.interface | awk -F'[.,=]' '{print$2}' | tr '\n' ' '); do ifname="" for ifc in $(uci -q get network.$net.ifname); do @@ -63,12 +61,10 @@ add_to_network() { [ "$radio_disabled" == "1" ] && return for net in $(uci show network | grep network.*.interface | awk -F'[.,=]' '{print$2}'); do - echo net=$net > /dev/console is_lan="$(uci -q get network.$net.is_lan)" is_lan=${is_lan:-0} type="$(uci -q get network.$net.type)" - echo is_lan=$is_lan type=$type > /dev/console [ "$is_lan" == "1" -a "$type" == "bridge" ] || continue -- GitLab