From: Michael Tremer Date: Sat, 19 Aug 2017 10:57:28 +0000 (+0000) Subject: wireless networks: Set default priority to 0 X-Git-Tag: 010~193 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a8c26c3d5d22bcf49fecf0f28d57567a01495ce3;p=network.git wireless networks: Set default priority to 0 This is wpa_supplicant's default, too and the user can then set any priority higher and order the networks according to own preferences. Signed-off-by: Michael Tremer --- diff --git a/src/functions/functions.wireless-networks b/src/functions/functions.wireless-networks index 0a2c3d7b..a9817865 100644 --- a/src/functions/functions.wireless-networks +++ b/src/functions/functions.wireless-networks @@ -222,7 +222,7 @@ wireless_network_new() { local ${WIRELESS_NETWORK_CONFIG_SETTINGS} ENCRYPTION_MODE="${WIRELESS_DEFAULT_ENCRYPTION_MODE}" SSID="${ssid}" - PRIORITY=500 + PRIORITY=0 if ! wireless_network_write_config "${handle}"; then log ERROR "Could not write new config file"