7" Display don`t turn backlight off on shutdown

Hello, i am new in this forum.
I have an Raspberry pi 3 and the 7" touch display, thats work fine. My Problem is that the backlight from the display dont turn off at shut down.
It is only at OSMC, Raspbian does it, why?
Please Help.

Has nobody this problem, i guess not.

The way to switch off the display backlight is:

echo 0 > /sys/class/backlight/rpi_backlight/bl_power

Your challenge is now to execute that command on OSMC shutdown.

I now this Command, but not how to use it at shutdown.

And the base question is why is this command not contained in OSCM.
Because everybody who have this display hase the same problem.



Hello, can nobody help me?