mirror of
https://github.com/nikdoof/builder.git
synced 2025-12-13 15:42:20 +00:00
move zte k540 wifi config to firmware repo (#10)
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set_gpio() {
|
||||
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
|
||||
sleep 1
|
||||
}
|
||||
|
||||
if [ "$1" = "atbm603x_wifi_usb" ]; then
|
||||
set_gpio 51 0
|
||||
modprobe atbm603x_wifi_usb
|
||||
exit 0
|
||||
fi
|
||||
@@ -13,6 +13,7 @@ fw_setenv upgrade 'https://github.com/OpenIPC/builder/releases/download/latest/t
|
||||
cli -s .nightMode.enabled true
|
||||
cli -s .nightMode.irCutPin1 57
|
||||
cli -s .nightMode.irCutPin2 58
|
||||
cli -s .nightMode.colorToGray true
|
||||
cli -s .nightMode.backlightPin 11
|
||||
cli -s .video0.codec h264
|
||||
cli -s .audio.speakerPin 64
|
||||
@@ -20,7 +21,7 @@ cli -s .audio.speakerPin 64
|
||||
#
|
||||
# Set wlan device and credentials if need
|
||||
#
|
||||
fw_setenv wlandev atbm603x_wifi_usb
|
||||
fw_setenv wlandev atbm603x-t31-zte-k540
|
||||
#fw_setenv wlanssid Router
|
||||
#fw_setenv wlanpass 12345678
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user