annotate bin/mailcluecheck @ 11:9fda93e18de5

Testing CVS in xEmacs
author darius
date Sat, 06 Dec 1997 04:46:49 +0000
parents 4d6502ffaa5e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
1 #!/bin/sh
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
2 #
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
3 # Called when a player is ejected. (If the MAIL_CLUELETTER option is set
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
4 # in config.h)
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
5 #
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
6
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
7 EJECTLETTER="lib/eject.letter"
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
8 HOST=`hostname`
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
9 echo $1@$2 >> ${NETREKDIR}/logs/eject.log
4d6502ffaa5e Initial revision
darius
parents:
diff changeset
10 mailx -s'You were ejected from Netrek at ${HOST}' $1@$2 < ${NETREKDIR}/${EJECTLETTER}