Time synchronization at startup and new modem profile ()

pull/1095/head
Igor Zalatov 2023-10-29 20:59:21 +03:00 committed by GitHub
parent 19e1f157bf
commit 27e2575cca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions
general/overlay/etc
init.d
wireless

View File

@ -29,6 +29,7 @@ stop() {
status=$?
if [ "$status" -eq 0 ]; then
rm -f "$PIDFILE"
ntpd -q -N -n -d
echo "OK"
else
echo "FAIL"

View File

@ -8,6 +8,15 @@ set_gpio() {
sleep 1
}
# GK7205V200 Kafei with A7680C and usb0
if [ "$1" = "a7680c-gk7205v200-kafei" ]; then
set_gpio 57 0
modprobe usbserial vendor=0x1e0e product=0x9011
modprobe rndis_host
sleep 15
exit 0
fi
# T31 CamHi with Quectel EC200S-CN, EC200T-EU and usb0
if [ "$1" = "ec200-t31-camhi" ]; then
set_gpio 61 0