]>
Commit | Line | Data |
---|---|---|
1 | /* $Id$ | |
2 | * | |
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>. | |
6 | */ | |
7 | ||
8 | #include <mit-copyright.h> | |
9 | #include "mr_server.h" | |
10 | ||
11 | #include <errno.h> | |
12 | ||
13 | RCSID("$Header$"); | |
14 | ||
15 | extern char *takedown; | |
16 | extern char *whoami; | |
17 | ||
18 | void sigshut(int sig) | |
19 | { | |
20 | takedown = "Shut down by signal."; | |
21 | } | |
22 | ||
23 | void do_shutdown(client *cl) | |
24 | { | |
25 | /* | |
26 | * This feature is no longer supported. Sorry. | |
27 | */ | |
28 | com_err(whoami, 0, "Shutdown request by %s rejected", cl->clname); | |
29 | client_reply(cl, EACCES); | |
30 | } | |
31 |