Does OW shutdown services when called to update to a new image?

When users update a new image (LuCi: System>Backup/Flash Image), are any calls to stop running services made by the process? I would like to make sure that the following are allowed to exit with clean exit codes before the image is flashed and the reboot triggered:

  1. Running LXC containers are allowed to gracefully stop
  2. Running of a custom script is allowed to finish


Just look at the LuCI source code.
It does almost nothing by itself.
The whole thing comes from the underlying sysupgrade script (that you could also run from console)

The sysupgrade script stop pretty much everything. By brute force if necessary.


1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.