aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jumbotron/files/bash_profile
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-10-02 22:26:17 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2018-10-03 21:09:55 +0200
commit7cc8370ab5e3428c24f37b7259331b10038b6acb (patch)
tree3a54b887aed7b40662b267bba5edcf82fc29464e /roles/jumbotron/files/bash_profile
parent4f98942a50341c2827ace103f153374f0b351135 (diff)
downloadlabitat-ansible-7cc8370ab5e3428c24f37b7259331b10038b6acb.tar.gz
labitat-ansible-7cc8370ab5e3428c24f37b7259331b10038b6acb.tar.xz
labitat-ansible-7cc8370ab5e3428c24f37b7259331b10038b6acb.zip
jumbotron: add role to set up jumbotron rpi
Diffstat (limited to 'roles/jumbotron/files/bash_profile')
-rw-r--r--roles/jumbotron/files/bash_profile5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/jumbotron/files/bash_profile b/roles/jumbotron/files/bash_profile
new file mode 100644
index 0000000..a473f85
--- /dev/null
+++ b/roles/jumbotron/files/bash_profile
@@ -0,0 +1,5 @@
+if [[ "$(tty)" = '/dev/tty1' ]]; then
+ exec "$HOME/.autologin"
+fi
+
+. "$HOME/.bashrc"