summaryrefslogtreecommitdiffstats
path: root/source/y/bsd-games/bsd-games-login-fortune.sh
blob: cb0f05b0b881e82875a434ba0d60d57b2e4e5020 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# Print a fortune cookie for interactive shells:

case $- in
*i* )  # We're interactive
  echo
  fortune fortunes fortunes2 linuxcookie
  echo
  ;;
esac