Mercurial > ~darius > hgwebdir.cgi > paradise_server
annotate bin/mailcluecheck @ 7:814de70c9f67
Initial revision
author | darius |
---|---|
date | Sat, 06 Dec 1997 04:37:04 +0000 |
parents | 4d6502ffaa5e |
children |
rev | line source |
---|---|
1 | 1 #!/bin/sh |
2 # | |
3 # Called when a player is ejected. (If the MAIL_CLUELETTER option is set | |
4 # in config.h) | |
5 # | |
6 | |
7 EJECTLETTER="lib/eject.letter" | |
8 HOST=`hostname` | |
9 echo $1@$2 >> ${NETREKDIR}/logs/eject.log | |
10 mailx -s'You were ejected from Netrek at ${HOST}' $1@$2 < ${NETREKDIR}/${EJECTLETTER} |