parent
dc1a278ce7
commit
f688c36b3f
|
@ -39,7 +39,7 @@ ret_code LTE_config_init(void)
|
|||
ret_code ret = RET_OK;
|
||||
char result[RESULT_LENGTH] = {0};
|
||||
FILE *f = NULL;
|
||||
f = popen(INIT_CMD,"r");
|
||||
f = popen("/etc/ppp/ppp-4g init","r");
|
||||
|
||||
if (NULL == f)
|
||||
{
|
||||
|
@ -176,7 +176,7 @@ ret_code start_lte()
|
|||
int i = 0;
|
||||
|
||||
FILE *f = NULL;
|
||||
f = popen(START_CMD,"r");
|
||||
f = popen("/etc/ppp/ppp-4g","r");
|
||||
|
||||
if (NULL == f)
|
||||
{
|
||||
|
@ -233,7 +233,7 @@ ret_code stop_lte()
|
|||
char result[RESULT_LENGTH] = {0};
|
||||
|
||||
FILE *f = NULL;
|
||||
f = popen(STOP_CMD,"r");
|
||||
f = popen("/etc/ppp/ppp-4g stop","r");
|
||||
|
||||
if (NULL == f)
|
||||
{
|
||||
|
@ -270,7 +270,7 @@ ret_code restart_lte()
|
|||
int i = 0;
|
||||
|
||||
FILE *f = NULL;
|
||||
f = popen(RESTART_CMD,"r");
|
||||
f = popen("/etc/ppp/ppp-4g restart","r");
|
||||
|
||||
if (NULL == f)
|
||||
{
|
||||
|
@ -372,7 +372,7 @@ ret_code status_lte(pointer output, int *output_len)
|
|||
ret_code ret = RET_OK;
|
||||
|
||||
FILE *f = NULL;
|
||||
f = popen(STATUS_CMD,"r");
|
||||
f = popen("/etc/ppp/ppp-4g status","r");
|
||||
if(NULL == f)
|
||||
{
|
||||
rpc_log_info("execuate cmd fail\n");
|
||||
|
|
Loading…
Reference in New Issue