Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- logo="$(tput setaf 2)
- .~~. .~~.
- '. \ ' ' / .'$(tput setaf 1)
- .~ .~~~..~.
- : .~.'~'.~. :
- ~ ( ) ( ) ~
- ( : '~'.~.'~' : )
- ~ .~ ( ) ~. ~
- ( : '~' : ) $(tput sgr0)Raspberry Pi$(tput setaf 1)
- '~ .~~~. ~'
- '~'
- $(tput sgr0)"
- if [ `whoami` != "root" ]; then
- echo "$logo"
- echo "Run as root to update your motd."
- else
- echo "$logo" > /etc/motd
- /etc/init.d/bootlogs
- echo "Updated MOTD. Log in to see the new logo."
- fi
Add Comment
Please, Sign In to add comment