exit ${EXIT_CODE_WARNING}
fi
+ # Warning: there is no guarantee that wpa_supplicant will try that network,
+ # if two or more networks are listed in wpa_supplicant.conf and are
+ # all simultaneously reachable (if they appear in iwlist).
+ echo "Trying to connect to wifi network \"${ESSID}\""
+
if [ -f /var/run/wpa_supplicant/${DEVICE} ]; then
echo "Stopping previous wpa_supplicant"
killall wpa_supplicant