]> git.ipfire.org Git - people/ms/network.git/commitdiff
wireless networks: Set default priority to 0
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Aug 2017 10:57:28 +0000 (10:57 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Aug 2017 10:57:28 +0000 (10:57 +0000)
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 <michael.tremer@ipfire.org>
src/functions/functions.wireless-networks

index 0a2c3d7be420bedee029575eea483cfade4e87bf..a9817865b562fdf9fc9013fe8dec93bc4bbf778f 100644 (file)
@@ -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"