Odroid C2 - how to disable HDMI-CEC

Hi. I’ve got Odroid C2 and CoreELEC 8.95.3. I have a question: how to completely disable HDMI-CEC?
Thank you for your response.

In Kodi, you can do it by going to settings>System>Input>Peripherals>CEC Adapter> Uncheck enabled.
If you want to get rid of it completely, you will have to modify /flash/boot.ini and add the following line if not present.
# — HDMI CEC Configuration —
# ------------------------------------------
setenv cecenable “false” # false or true

https://forum.odroid.com/viewtopic.php?t=26588

After changes if I press any button on my tv remote (for example Sources or OK_Up) my Odroid turns off. What can I do about this?

You might need to add the following line to boot.ini:
if test "${cecenable}" = "false"; then fdt rm /aocec; fi
as described in the forum post from odroid.