Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Auto power off??  (Read 2548 times)

0 Members and 1 Guest are viewing this topic.

katuuuz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 166
  • Last login:December 12, 2016, 09:39:44 pm
  • U, U, D, D, L, R, L, R, B, A, Select, Start
Auto power off??
« on: June 02, 2016, 02:03:20 pm »
Hey guys, got my pi running latest RetroPie SD image.  I've successfully edited my rc.local file so when I power on my Pi, it shows a splashscreen, then loads directly into mame/donkey kong.  Upon exiting the emulator, emulationstation loads. 

Is there a way that I can add something to the script within rc.local so that when I exit mame(donkey kong) the pi performs a sudo halt command to power off instead of loading emulationstation?

Want to have a dedicated DK cab that boots into donkey kong, and upon exiting -- shuts down
« Last Edit: June 02, 2016, 02:05:47 pm by katuuuz »