Created
January 8, 2015 07:47
-
-
Save CLCL/78e23c4c4e6d949f7206 to your computer and use it in GitHub Desktop.
Intel Edisonの組み込みLinux(yocto Project)の /etc/motd を生成する Intelが青でEdisonがシアンのつもり
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
MOTD=/etc/motd | |
if [ ! -s $MOTD ] ; then | |
tee $MOTD << EOS | |
[34m d8b 888 ® | |
[34m y8p 888 888 [36m##### # # | |
[34m 888 888 [36m# # | |
[34m 888 88888b. 888888 .d88b. 888 [36m# # # #### #### ##### | |
[34m 888 888 "88b 888 d8P Y8b 888 [36m##### ##### # # # # # # | |
[34m 888 888 888 888 88888888 888 [36m# # # # #### # # # # | |
[34m 888 888 888 Y88b. Y8b. 888 [36m# # # # # # # # # | |
[34m Y88 888 888 "Y888 "Y8888 Y88 [36m##### ##### # #### #### # # | |
[32m | |
`uname -a` | |
[0m | |
EOS | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment