Hi,
I read in LE-wiki that network already has shutdown when shutdown.sh runs.
In other context I read, that dependency to network could be added by adding a line "Requires=network.target".
I tried that with kodi-poweroff.service - but it does not make a difference.
Can anybody tell me, how to get shutdown.sh run before network shutdown?
Or if its not possible, could you explain the reason?