S30wifi: we need compat with old program

This commit is contained in:
Lu Hui
2024-04-19 14:16:07 +08:00
parent 8d286613a2
commit 1daa602f32

View File

@@ -44,8 +44,6 @@ start() {
then
cp /boot/wpa_supplicant.conf /etc/wpa_supplicant.conf
else
if [ ! -e /etc/wpa_supplicant.conf ]
then
ssid=""
pass=""
if [ -e /boot/wifi.ssid ]
@@ -66,7 +64,6 @@ start() {
wpa_passphrase "$ssid" "$pass" >> /etc/wpa_supplicant.conf
fi
fi
fi
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
if [ ! -e /boot/wifi.nodhcp ]
then