mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Commit cwmp after parameterkey update
This commit is contained in:
parent
7917dc531c
commit
5cfb8160f4
1 changed files with 3 additions and 0 deletions
|
|
@ -288,6 +288,7 @@ int dm_entry_param_method(struct dmctx *ctx, int cmd, char *inparam, char *arg1,
|
|||
fault = dm_entry_add_object(ctx);
|
||||
if (!fault) {
|
||||
dmuci_set_value("cwmp", "cpe", "ParameterKey", arg1 ? arg1 : "");
|
||||
dmuci_commit_package("cwmp");
|
||||
dmuci_change_packages(&head_package_change);
|
||||
}
|
||||
break;
|
||||
|
|
@ -295,6 +296,7 @@ int dm_entry_param_method(struct dmctx *ctx, int cmd, char *inparam, char *arg1,
|
|||
fault = dm_entry_delete_object(ctx);
|
||||
if (!fault) {
|
||||
dmuci_set_value("cwmp", "cpe", "ParameterKey", arg1 ? arg1 : "");
|
||||
dmuci_commit_package("cwmp");
|
||||
dmuci_change_packages(&head_package_change);
|
||||
}
|
||||
break;
|
||||
|
|
@ -346,6 +348,7 @@ int dm_entry_apply(struct dmctx *ctx, int cmd, char *arg1)
|
|||
}
|
||||
if (!fault && set_success == true) {
|
||||
dmuci_set_value("cwmp", "cpe", "ParameterKey", arg1 ? arg1 : "");
|
||||
dmuci_commit_package("cwmp");
|
||||
dmuci_change_packages(&head_package_change);
|
||||
dmuci_save();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue