set cfun to 1 before dial

This commit is contained in:
fujr 2024-11-01 02:39:59 +08:00
parent 3100daca6e
commit 1b6eb9548e

View File

@ -226,6 +226,7 @@ check_dial_prepare()
config_fullfill=1 config_fullfill=1
fi fi
if [ "$config_fullfill" = "1" ] && [ "$sim_fullfill" = "1" ] && [ "$netdev_fullfill" = "1" ] ;then if [ "$config_fullfill" = "1" ] && [ "$sim_fullfill" = "1" ] && [ "$netdev_fullfill" = "1" ] ;then
at "$at_port" "AT+CFUN=1"
return 1 return 1
else else
return 0 return 0