]>
Commit | Line | Data |
---|---|---|
7ac48069 | 1 | /* $Id$ |
a3cf6921 | 2 | * |
7ac48069 | 3 | * Copyright (C) 1987-1998 by the Massachusetts Institute of Technology |
4 | * For copying and distribution information, please see the file | |
5 | * <mit-copyright.h>. | |
a3cf6921 | 6 | */ |
7 | ||
c801de4c | 8 | #include <mit-copyright.h> |
d548a4e7 | 9 | #include "mr_server.h" |
a3cf6921 | 10 | |
7ac48069 | 11 | #include <errno.h> |
12 | ||
13 | RCSID("$Header$"); | |
14 | ||
a3cf6921 | 15 | extern char *takedown; |
16 | extern char *whoami; | |
17 | ||
03c05291 | 18 | void sigshut(int sig) |
a3cf6921 | 19 | { |
5eaef520 | 20 | takedown = "Shut down by signal."; |
a3cf6921 | 21 | } |
22 | ||
5eaef520 | 23 | void do_shutdown(client *cl) |
a3cf6921 | 24 | { |
5eaef520 | 25 | /* |
26 | * This feature is no longer supported. Sorry. | |
27 | */ | |
28 | com_err(whoami, 0, "Shutdown request by %s rejected", cl->clname); | |
85330553 | 29 | client_reply(cl, EACCES); |
a3cf6921 | 30 | } |
5eaef520 | 31 |