Run script before shutdown

Is there a way to run a script just before the router shuts down?

I would only expect the script to run in response to an orderly shutdown, and not a power cycle. I’m thinking something similar to a startup script, which can be assigned using the scheduler.

At the moment nope


Sent from my iPhone using Tapatalk