]> andersk Git - moira.git/blame_incremental - server/mr_shutdown.c
Changes from dtanner.
[moira.git] / server / mr_shutdown.c
... / ...
CommitLineData
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
13RCSID("$Header$");
14
15extern char *takedown;
16extern char *whoami;
17
18void sigshut(int sig)
19{
20 takedown = "Shut down by signal.";
21}
22
23void 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
This page took 0.035568 seconds and 5 git commands to generate.