File: zz-fortune

package info (click to toggle)
logwatch 5.2.2-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,112 kB
  • ctags: 42
  • sloc: perl: 9,032; sh: 65; makefile: 54
file content (19 lines) | stat: -rwxr-xr-x 523 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
##########################################################################
# $Id: zz-fortune,v 1.8 2003/12/15 18:09:24 kirk Exp $
##########################################################################
# Named 'zz-fortune' so that it will be the last to execute...

if [ "$PRINTING" = "y" ] ; then
   if [ -x /usr/games/fortune ] ; then
      echo
      echo
      echo "------------------ Fortune --------------------"
      echo
      /usr/games/fortune
      echo
   fi
fi

# vi: shiftwidth=3 tabstop=3 et