]> andersk Git - moira.git/blame_incremental - server/mr_shutdown.c
Diane Delgado's changes for a fixed table-locking order
[moira.git] / server / mr_shutdown.c
... / ...
CommitLineData
1/*
2 * $Source$
3 * $Author$
4 * $Header$
5 *
6 * Copyright (C) 1987 by the Massachusetts Institute of Technology
7 * For copying and distribution information, please see the file
8 * <mit-copyright.h>.
9 *
10 */
11
12#ifndef lint
13static char *rcsid_sms_shutdown_c = "$Header$";
14#endif lint
15
16#include <mit-copyright.h>
17#include <strings.h>
18#include <sys/errno.h>
19#include "mr_server.h"
20
21extern char *takedown;
22extern char *whoami;
23
24sigshut()
25{
26 takedown = "Shut down by signal.";
27}
28
29void
30do_shutdown(cl)
31 client *cl;
32{
33 static char buf[BUFSIZ];
34 /*
35 * This feature is no longer supported. Sorry.
36 */
37 com_err(whoami, 0, "Shutdown request by %s rejected",
38 cl->clname);
39 cl->reply.mr_status = EACCES;
40}
41
This page took 0.033132 seconds and 5 git commands to generate.