RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    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

    Scheduled Pinned Locked Moved Help and Support
    raspberry pi 3retropieretroflagnespicase+safe shutdown
    5 Posts 2 Posters 937 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lesk
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        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 &
        
        L 1 Reply Last reply Reply Quote 0
        • L
          lesk @mitu
          last edited by

          @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? ^^

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @lesk
            last edited by mitu

            @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.

            L 1 Reply Last reply Reply Quote 0
            • L
              lesk @mitu
              last edited by

              @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 ^^

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              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.