Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Custom safe shutdown text / screen



  • Raspberry pie 3
    Retropie 4.4 clean install
    Retroflag nespicase + with safe shutdown script

    Hi good folks of the forum.
    When using a retroflag case with safe shutdown in retropie, you get a lot of text when it's shutting down.
    Is it possible to hide all that, or add a custom splash screen / jpg showing instead?

    The script:

    wget -O - "https://raw.githubusercontent.com/RetroFlag/retroflag-picase/master/install.sh" | sudo bash
    

    https://github.com/RetroFlag/retroflag-picase


  • Global Moderator

    Looks like the shutdown script installs it's handler in /etc/rc.local:

    sudo python3 /opt/RetroFlag/SafeShutdown.py &
    

    Redirect all the output of the script to /dev/null and you'll get rid of the messages.

    python3 /opt/RetroFlag/SafeShutdown.py 1>/dev/null 2>&1 &
    


  • @mitu said in Custom safe shutdown text / screen:

    Looks like the shutdown script installs it's handler in /etc/rc.local:

    sudo python3 /opt/RetroFlag/SafeShutdown.py &
    

    Redirect all the output of the script to /dev/null and you'll get rid of the messages.

    python3 /opt/RetroFlag/SafeShutdown.py 1>/dev/null 2>&1 &
    

    All right. A bit of a noob question, so I ssh into my pie or press F4 in retropie.
    And I type first

    sudo python3 /opt/RetroFlag/SafeShutdown.py &
    

    Then

    python3 /opt/RetroFlag/SafeShutdown.py 1>/dev/null 2>&1 &
    

    to make hide it? ^^


  • Global Moderator

    @lesk No, you'll need to edit the /etc/rc.local file and replace the 1st line (which should have been added by the RetroFlag script) with the 2nd one. Use sudo nano /etc/rc.local to edit the file.



  • @mitu said in Custom safe shutdown text / screen:

    @lesk No, you'll need to edit the /etc/rc.local file and replace the 1st line (which should have been added by the RetroFlag script) with the 2nd one. Use sudo nano /etc/rc.local to edit the file.

    Okay thanks! I will give this a shot ^^



Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.