File: list

package info (click to toggle)
efingerd 1.6.7-1
  • links: PTS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 372 kB
  • sloc: sh: 344; ansic: 303; makefile: 27
file content (28 lines) | stat: -rw-r--r-- 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