mirror of https://github.com/OpenIPC/firmware.git
Time synchronization at startup and new modem profile (#1094)
parent
19e1f157bf
commit
27e2575cca
|
@ -29,6 +29,7 @@ stop() {
|
||||||
status=$?
|
status=$?
|
||||||
if [ "$status" -eq 0 ]; then
|
if [ "$status" -eq 0 ]; then
|
||||||
rm -f "$PIDFILE"
|
rm -f "$PIDFILE"
|
||||||
|
ntpd -q -N -n -d
|
||||||
echo "OK"
|
echo "OK"
|
||||||
else
|
else
|
||||||
echo "FAIL"
|
echo "FAIL"
|
||||||
|
|
|
@ -8,6 +8,15 @@ set_gpio() {
|
||||||
sleep 1
|
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
|
# T31 CamHi with Quectel EC200S-CN, EC200T-EU and usb0
|
||||||
if [ "$1" = "ec200-t31-camhi" ]; then
|
if [ "$1" = "ec200-t31-camhi" ]; then
|
||||||
set_gpio 61 0
|
set_gpio 61 0
|
||||||
|
|
Loading…
Reference in New Issue