mirror of https://github.com/koreader/koreader
[Cervantes]: wifi fix & misc improvements. (#4341)
* remove unused setting 'internal_storage_mount_point use filemanagerutil.getDefaultDir() instead https://github.com/koreader/koreader/blob/master/frontend/apps/filemanager/filemanagerutil.lua#L15 * more info about device frontlight/naturalLight capabilities * make stock reader fonts available in KOReader * remove restore-wifi-async leftovers * wireless: fix wpa_supplicant configuration: make it compatible w/ debian wheezy binaries don't try to run enable-wifi.sh more than oncepull/4343/head
parent
32ccada2c4
commit
6a844136cf
@ -1,9 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# disable wifi and remove all modules
|
||||
killall udhcpc default-script wpa_supplicant 2>/dev/null
|
||||
ifconfig eth0 down
|
||||
|
||||
if lsmod | grep -q 8189fs; then
|
||||
modprobe -r 8189fs
|
||||
fi
|
||||
killall udhcpc wpa_supplicant 2>/dev/null
|
||||
ifconfig eth0 down 2>/dev/null
|
||||
modprobe -r 8189fs 2>/dev/null
|
||||
|
@ -1,10 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
RestoreWifi() {
|
||||
echo "[$(date)] restore-wifi-async.sh: Restarting WiFi"
|
||||
./enable-wifi.sh
|
||||
./obtain-ip.sh
|
||||
echo "[$(date)] restore-wifi-async.sh: Restarted WiFi"
|
||||
}
|
||||
|
||||
RestoreWifi &
|
Loading…
Reference in New Issue