mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2025-12-10 07:44:41 +01:00
Wait before exit, when reboot or factory reset called
This commit is contained in:
parent
df39f8a3cf
commit
0ddc0df71d
1 changed files with 2 additions and 2 deletions
4
common.c
4
common.c
|
|
@ -429,7 +429,7 @@ void cwmp_reboot(char *command_key)
|
|||
icwmp_ubus_invoke("rpc-sys", "reboot", b.head, NULL, NULL);
|
||||
blob_buf_free(&b);
|
||||
|
||||
sleep(5);
|
||||
sleep(300);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -444,7 +444,7 @@ void cwmp_factory_reset() //use the ubus rpc-sys factory
|
|||
icwmp_ubus_invoke("rpc-sys", "factory", b.head, NULL, NULL);
|
||||
blob_buf_free(&b);
|
||||
|
||||
sleep(5);
|
||||
sleep(300);
|
||||
}
|
||||
|
||||
long int get_file_size(char *file_name)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue