Remote configuration after OSMC update

To make my RPI with OSMC to not shutdown when someone press shutdown button on the remote (I have logitech harmony) i edited /usr/share/kodi/system/Lircmap.xml file and commented power for my remote.

But, each time I updating OSMC , the changes I made are reverted into the original file coming with OSMC update.
Is there any way to make those changes remains or any other method that will allow me to disable shutdown functionality ?


Do it as keymap in userdata,

In the Harmony software, you can set the PI to be left on all the time.

Thanks !!!