mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Prevent promptWifiOn() needing to be called twice and refactor OTA update fetch/version check
This commit is contained in:
@@ -23,6 +23,7 @@ local function koboEnableWifi(toggle)
|
||||
local path = "/etc/wpa_supplicant/wpa_supplicant.conf"
|
||||
os.execute("insmod /drivers/ntx508/wifi/sdio_wifi_pwr.ko 2>/dev/null")
|
||||
os.execute("insmod /drivers/ntx508/wifi/dhd.ko")
|
||||
os.execute("sleep 1")
|
||||
os.execute("ifconfig eth0 up")
|
||||
os.execute("wlarm_le -i eth0 up")
|
||||
os.execute("wpa_supplicant -s -i eth0 -c "..path.." -C /var/run/wpa_supplicant -B")
|
||||
|
||||
Reference in New Issue
Block a user