removed ifup and increased delay

pull/1878/head
Daniel Banar 2025-09-07 23:19:34 +02:00
parent c7729676a4
commit d459dd75ba
1 changed files with 3 additions and 9 deletions

View File

@ -80,9 +80,7 @@ if [ "$1" = "sim7600g" ]; then
modprobe rndis_host modprobe rndis_host
modprobe option modprobe option
echo "1e0e 9011" > /sys/bus/usb-serial/drivers/option1/new_id echo "1e0e 9011" > /sys/bus/usb-serial/drivers/option1/new_id
sleep 2 sleep 5
ifup usb0
sleep 2
exit 0 exit 0
fi fi
@ -90,18 +88,14 @@ fi
if [ "$1" = "rndis-ec25" ]; then if [ "$1" = "rndis-ec25" ]; then
modprobe rndis_host modprobe rndis_host
modprobe option modprobe option
sleep 2 sleep 5
ifup usb0
sleep 2
exit 0 exit 0
fi fi
# EG25/EC25-xxx (ECM, AT+QCFG="usbnet",1) # EG25/EC25-xxx (ECM, AT+QCFG="usbnet",1)
if [ "$1" = "ec25" ]; then if [ "$1" = "ec25" ]; then
modprobe option modprobe option
sleep 2 sleep 5
ifup usb0
sleep 2
exit 0 exit 0
fi fi
exit 1 exit 1