summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-scripts/net.modules.d/wpa_supplicant.sh')
-rw-r--r--net-scripts/net.modules.d/wpa_supplicant.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-scripts/net.modules.d/wpa_supplicant.sh b/net-scripts/net.modules.d/wpa_supplicant.sh
index f2357bd..a9e99c0 100644
--- a/net-scripts/net.modules.d/wpa_supplicant.sh
+++ b/net-scripts/net.modules.d/wpa_supplicant.sh
@@ -203,6 +203,7 @@ wpa_supplicant_pre_start() {
ESSID="$( wpa_supplicant_get_essid "${iface}" )"
ESSIDVAR="$( bash_variable "${ESSID}" )"
save_options "ESSID" "${ESSID}"
+ metric=2000
fi
return 0
fi
@@ -349,6 +350,7 @@ wpa_supplicant_pre_start() {
exit 0
fi
+ metric=2000
return 0
}