add zte k540 (#9)

This commit is contained in:
john doe
2024-02-05 03:12:38 +08:00
committed by GitHub
parent e93edc2f55
commit 1e914990f1
10 changed files with 309 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#!/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