Skip to content

Instantly share code, notes, and snippets.

@aphex3k
Forked from piksel/raspi-motd.sh
Last active March 11, 2016 17:36
Show Gist options
  • Save aphex3k/ba3ab3a9eaf086f95a9d to your computer and use it in GitHub Desktop.
Save aphex3k/ba3ab3a9eaf086f95a9d to your computer and use it in GitHub Desktop.
Script for setting a nice raspberry pi logo as MOTD on debian.
#!/bin/bash
logo="$(tput setaf 2)
.~~. .~~.
'. \ ' ' / .' $(tput sgr0) ------------------------------- $(tput setaf 1)
.~ .~~~..~. $(tput sgr0) _ _ $(tput setaf 1)
: .~.'~'.~. : $(tput sgr0) ___ ___ ___ ___| |_|_|___ ___ $(tput setaf 1)
~ ( ) ( ) ~ $(tput sgr0) | _| .'|_ -| . | . | | .'| | $(tput setaf 1)
( : '~'.~.'~' : ) $(tput sgr0) |_| |__,|___| _|___|_|__,|_|_| $(tput setaf 1)
~ .~ ( ) ~. ~ $(tput sgr0) |_| $(tput setaf 1)
( : '~' : )
'~ .~~~. ~' $(tput sgr0) ---------- HEADLESS ----------- $(tput setaf 1)
'~'
$(tput sgr0)"
echo "$logo" >> etc/motd
@aphex3k
Copy link
Author

aphex3k commented Mar 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment