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

    Auto Shutdown On Exit

    Scheduled Pinned Locked Moved Help and Support
    mame
    3 Posts 2 Posters 144 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.
    • F
      Fredthedoggy
      last edited by Fredthedoggy

      I have a raspberry Pi set up to auto-boot to Pacman (on mame4all).
      when I exit the rom, it goes into the command line (because I never loaded EmulationStation)
      How do I make it so when I exit the rom, it auto runs a command?
      Either:

      emulationstation
      

      Or:

      shutdown -h now
      

      That way I dont have to have a keyboard handy, or just pull the plug.

      Thanks in advance, -Fred

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

        @Fredthedoggy Add the command you want to run next in the script that auto-boots the ROM, on the next line.

        1 Reply Last reply Reply Quote 0
        • F
          Fredthedoggy
          last edited by

          Ok, Thanks! That worked first try

          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.