Script file to safely shut down Kodi (installed through packages)

Welcome Page Forums RetroPie Project Everything else related to the RetroPie Project Script file to safely shut down Kodi (installed through packages)

This topic contains 0 replies, has 1 voice, and was last updated by  haris1977 2 years, 5 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #104291


    I installed Retropie (rasp pi 1, model b) and afterwards kodi (Helix 14.2, from experimental packages). I managed to make it bottable on start up. I even managed to enable my cec-controller.

    Now the problem is that everytime i hit (exit , power off system OR reboot) it always goes back to ES. This is where i thought about scripts (which i am planning to run through specific app called advanced launcher).

    So i really need 1 script to try (i dont know if it will work though..):

    What i want the script to do: It will SAFELY power off (completely) my system (smth like shutdown -P now or smth similar). This script would be run through Advanced Launcher’s menu (or in other way-i am open to ideas). I am a linux (and scripting) noob so i do not have the knowledge to do it.

    Anyone can help with this one?

    Edit: To help someone out i found this:

    Is this my command?

    case “$1” in
    # your commands here
    # your commands here
    # your commands here
    # your commands here

    I suppose where it says # your commands here, it needs a command? And what is the complete script with command?

    Any help appreciated

Viewing 1 post (of 1 total)

Forums are currently read only - please visit the new RetroPie forums at

PLEASE NOTE: All orders that are placed between January 14th and January 28th will be shipped on January 29th. Dismiss