Revision 24250,
740 bytes
checked in by broder, 15 years ago
(diff) |
New Moira snapshot from subversion.
Sorry for the large diff - looks like all of the keywords changed in
the SVN import process.
|
Line | |
---|
1 | /* $Id: mr_shutdown.c,v 1.11 1998-02-15 17:49:15 danw Exp $ |
---|
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: /afs/.athena.mit.edu/astaff/project/moiradev/repository/moira/server/mr_shutdown.c,v 1.11 1998-02-15 17:49:15 danw Exp $"); |
---|
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 | |
---|
Note: See
TracBrowser
for help on using the repository browser.