mirror of
https://github.com/sipeed/LicheeRV-Nano-Build.git
synced 2026-09-19 15:23:30 -05:00
S30wifi: we need compat with old program
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user