mirror of
https://github.com/sixfab/Sixfab_PPP_Installer
synced 2024-11-22 02:54:53 +00:00
Fixed bug on modem mode configuration
This commit is contained in:
parent
20bc66dfbc
commit
28efbe7264
@ -96,11 +96,11 @@ if [[ $IS_QUECTEL -eq 0 ]]; then
|
|||||||
|
|
||||||
# For Telit
|
# For Telit
|
||||||
elif [[ $IS_TELIT -eq 0 ]]; then
|
elif [[ $IS_TELIT -eq 0 ]]; then
|
||||||
atcom "AT#USBCFG?" | grep 4 >> /dev/null
|
atcom "AT#USBCFG?" | grep 0 >> /dev/null
|
||||||
|
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
atcom "AT#USBCFG=4"
|
atcom "AT#USBCFG=0"
|
||||||
debug "ECM mode is activated."
|
debug "PPP mode is activated."
|
||||||
debug "Modem restarting..."
|
debug "Modem restarting..."
|
||||||
|
|
||||||
sleep 20
|
sleep 20
|
||||||
|
Loading…
Reference in New Issue
Block a user