Skip to content

Instantly share code, notes, and snippets.

@davidmroth
Last active September 21, 2021 01:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidmroth/4722737dd5ef4351664d6e4b8fcc9f2d to your computer and use it in GitHub Desktop.
Save davidmroth/4722737dd5ef4351664d6e4b8fcc9f2d to your computer and use it in GitHub Desktop.
Boot Emulation Station
#!/bin/bash
mkdir -p /etc/systemd/system/getty@tty1.service.d
cat >/etc/systemd/system/getty@tty1.service.d/override.conf << 'EOF'
[Service]
ExecStart=
ExecStart=-/bin/su - retropie -c "/usr/bin/emulationstation"
StandardInput=tty
StandardOutput=tty
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment