From 799449ecc283d2fae2ff680fc286e7e0bf83231f 2020-09-24 16:03:11 From: Bobberty Date: 2020-09-24 16:03:11 Subject: [PATCH] Update 20-networking.sh --- diff --git a/bootstrap.d/20-networking.sh b/bootstrap.d/20-networking.sh index 3ae980d..7dc698d 100644 --- a/bootstrap.d/20-networking.sh +++ b/bootstrap.d/20-networking.sh @@ -94,8 +94,8 @@ if [ "$ENABLE_WIRELESS" = true ] ; then fi fi - if [ -z "$NET_WIFI_SSID" ] && [ -z "$NET_WIFI_PSK" ] ; then - printf " + if [ ! -z "$NET_WIFI_SSID" ] && [ ! -z "$NET_WIFI_PSK" ] ; then + chroot_exec printf " ctrl_interface=/run/wpa_supplicant ctrl_interface_group=wheel update_config=1