Skip to content
Snippets Groups Projects
Commit d5ef8e5e authored by Jakob Olsson's avatar Jakob Olsson
Browse files

iopsys_wifi_addons: remove excess debug prints

parent 2193f555
No related branches found
No related tags found
No related merge requests found
...@@ -4,8 +4,6 @@ remove_from_networks() { ...@@ -4,8 +4,6 @@ remove_from_networks() {
local iface=$1 local iface=$1
local ifname="" local ifname=""
echo removing iface=$iface > /dev/console
for net in $(uci show network | grep network.*.interface | awk -F'[.,=]' '{print$2}' | tr '\n' ' '); do for net in $(uci show network | grep network.*.interface | awk -F'[.,=]' '{print$2}' | tr '\n' ' '); do
ifname="" ifname=""
for ifc in $(uci -q get network.$net.ifname); do for ifc in $(uci -q get network.$net.ifname); do
...@@ -63,12 +61,10 @@ add_to_network() { ...@@ -63,12 +61,10 @@ add_to_network() {
[ "$radio_disabled" == "1" ] && return [ "$radio_disabled" == "1" ] && return
for net in $(uci show network | grep network.*.interface | awk -F'[.,=]' '{print$2}'); do 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="$(uci -q get network.$net.is_lan)"
is_lan=${is_lan:-0} is_lan=${is_lan:-0}
type="$(uci -q get network.$net.type)" type="$(uci -q get network.$net.type)"
echo is_lan=$is_lan type=$type > /dev/console
[ "$is_lan" == "1" -a "$type" == "bridge" ] || continue [ "$is_lan" == "1" -a "$type" == "bridge" ] || continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment