File: list

package info (click to toggle)
efingerd 1.6.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 196 kB
  • ctags: 35
  • sloc: sh: 339; ansic: 254; makefile: 61
file content (28 lines) | stat: -rwxr-xr-x 305 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash


. /etc/efingerd/log 
echo

if [ $1 = 'matos' ]; then
  echo 'Go away.'
  exit 0
fi


if [ $1 = '(null)' ]; then
  echo Hello $2,
else 
  echo Hello $1\@$2,
fi
echo

if [ $RANDOM -le 16000 ]; then
  calendar
else
  cal
fi

echo
echo --
echo finger help@this.computer.address for a short help