Author Topic: ANYWAY to get ShutDownPi in attract mode setup, exit me to command line?  (Read 5704 times)

Patzfan

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
what is the command line to exit ATTRACTMODE and go to commandline? currently it shuts down my pi, but i got another button to so that. i want to open sh and edit the script to get it to the command line

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
@Patzfan
start AM > General > remove content of 'Exit Command'
So if you exit AM, then you're on bash
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

Patzfan

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
@Patzfan
start AM > General > remove content of 'Exit Command'
So if you exit AM, then you're on bash

right now my EXIT button in the unified layout on the MAIN wheel with consoles, SHUTS ME DOWN which is what i like.
In attract mode setup there is a shutdown pi BUTTON on the wheel, i want to edit the .sh file to get me to commandline.

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Code: [Select]
kill $(ps aux | grep '[a]ttract' | awk '{print $2}')