Skip to content

Instantly share code, notes, and snippets.

@micahyoung
Created January 26, 2014 19:58
Show Gist options
  • Save micahyoung/8638422 to your computer and use it in GitHub Desktop.
Save micahyoung/8638422 to your computer and use it in GitHub Desktop.
Bash conditional for only loading on hardware termain screen
#Frame startup on autologin
if [[ "`tty`" == "/dev/tty1" ]]; then
#run program
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment