updated motd scripts

This commit is contained in:
James Tomasino 2019-01-12 22:47:06 -05:00
parent e981d7a016
commit 7f07a178ff
3 changed files with 5 additions and 2 deletions

3
update-motd/40-fortune Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
printf "\\n"
/usr/games/fortune | fold -sw 80 | /usr/games/lolcat -f

View File

@ -1,3 +1,3 @@
#!/bin/sh
printf "\\n"
printf "\\nchange log:\\n" | /usr/games/lolcat -f
grep -v '^<' /var/wiki/changelog.html | awk -v RS= 'NR==1 || NR==2 {print $0 "\n"}' | /usr/games/lolcat -f

View File

@ -1,2 +1,2 @@
#!/bin/sh
printf " Run 'man cosmic.voyage' to get started\\n" | /usr/games/lolcat -f
printf "Run 'man cosmic.voyage' to get started\\n" | /usr/games/lolcat -f