mirror of https://github.com/OpenIPC/firmware.git
removed ifup and increased delay
parent
c7729676a4
commit
d459dd75ba
|
@ -80,9 +80,7 @@ if [ "$1" = "sim7600g" ]; then
|
|||
modprobe rndis_host
|
||||
modprobe option
|
||||
echo "1e0e 9011" > /sys/bus/usb-serial/drivers/option1/new_id
|
||||
sleep 2
|
||||
ifup usb0
|
||||
sleep 2
|
||||
sleep 5
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
@ -90,18 +88,14 @@ fi
|
|||
if [ "$1" = "rndis-ec25" ]; then
|
||||
modprobe rndis_host
|
||||
modprobe option
|
||||
sleep 2
|
||||
ifup usb0
|
||||
sleep 2
|
||||
sleep 5
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# EG25/EC25-xxx (ECM, AT+QCFG="usbnet",1)
|
||||
if [ "$1" = "ec25" ]; then
|
||||
modprobe option
|
||||
sleep 2
|
||||
ifup usb0
|
||||
sleep 2
|
||||
sleep 5
|
||||
exit 0
|
||||
fi
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue