|Anonymous | Login | Signup for a new account||2018-06-25 11:59 CEST|
|My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000050||easycwmp||[All Projects] Help||public||2015-04-28 14:59||2015-05-02 17:51|
|Status||resolved||Resolution||no change required|
I have set some own Parameters over genieacs into my router. The Parameters are my own.
Now i want to restart my service to get my changes applied.
I Could do this in every script with the "common_delay_service_restart_in_apply_service" cmd from /functions/common
But this is not very smart to restart the service at every function call when a lot of parameters are changed.
I saw that it is possible to call the function "common_execute_command_in_apply_service" but theres is now description how it works!
Do I have to send an apply_service action as seen in easycwmp.sh?
Do I have to write my own scripts?
|Tags||No tags attached.|
edited on: 2015-05-01 12:48
You ca refer to the lan_device and wan_device scripts to see where to call the common_delay_service_restart_in_apply_service and common_execute_command_in_apply_service function.
These functions allow to specify the commands to execute and the services to restart at the end of the session with ACS and they do not execute them immediately.
And if you make set of many parameters that require the same service restart, then the service will restart only one time at the end of the session
|2015-04-28 14:59||feckert||New Issue|
|2015-05-01 12:47||mohamed.kallel||Note Added: 0000190|
|2015-05-01 12:48||mohamed.kallel||Note Edited: 0000190||View Revisions|
|2015-05-02 17:51||mohamed.kallel||Status||new => resolved|
|2015-05-02 17:51||mohamed.kallel||Resolution||open => no change required|
|2015-05-02 17:51||mohamed.kallel||Assigned To||=> mohamed.kallel|
|Copyright © 2000 - 2018 MantisBT Team|