2020-07-14, 10:15
I am currently using CoreELEC in a dual boot with Android. I want to map a keyboard key to run a custom shutdown script which reboots the system from Android.
Now I know the commands that do that (Rebootfromnand && Reboot) but I am not sure how to bind it to a keyboard press (such as A FUNCTION KEY)
I am using my system with a FLIRC device, so its easy for me to map a key to one of the function keys, I just dont know how to tell the box to execute that shutdown script once it receives the key press.
Can anybody help me with this?
Thanks in advance!
Now I know the commands that do that (Rebootfromnand && Reboot) but I am not sure how to bind it to a keyboard press (such as A FUNCTION KEY)
I am using my system with a FLIRC device, so its easy for me to map a key to one of the function keys, I just dont know how to tell the box to execute that shutdown script once it receives the key press.
Can anybody help me with this?
Thanks in advance!