]> andersk Git - moira.git/blame - server/mr_shutdown.c
fix some previously uninitialized fields in the log files &
[moira.git] / server / mr_shutdown.c
CommitLineData
a3cf6921 1/*
2 * $Source$
3 * $Author$
4 * $Header$
5 *
6 * Copyright (C) 1987 by the Massachusetts Institute of Technology
7 *
8 * $Log$
0ba1d418 9 * Revision 1.4 1987-09-11 15:33:11 wesommer
10 * Disable shutdowns completely.
a3cf6921 11 *
0ba1d418 12 * Revision 1.4 87/09/09 01:43:11 wesommer
13 * Disable server shutdown request.
14 *
15 * Revision 1.3 87/08/04 02:41:29 wesommer
16 * Clean up messages.
17 *
f17535a4 18 * Revision 1.2 87/06/21 16:42:12 wesommer
19 * Performance work, rearrangement of include files.
20 *
c27b3454 21 * Revision 1.1 87/06/02 20:07:18 wesommer
22 * Initial revision
23 *
a3cf6921 24 */
25
26#ifndef lint
27static char *rcsid_sms_shutdown_c = "$Header$";
28#endif lint
29
30#include <strings.h>
31#include <sys/errno.h>
a3cf6921 32#include "sms_server.h"
33
34extern char *takedown;
35extern char *whoami;
36
37sigshut()
38{
39 takedown = "Shut down by signal.";
40}
41
42void
43do_shutdown(cl)
44 client *cl;
45{
46 static char buf[BUFSIZ];
0ba1d418 47 /*
48 * This feature is no longer supported. Sorry.
49 */
50 com_err(whoami, 0, "Shutdown request by %s rejected",
51 cl->clname);
52 cl->reply.sms_status = EACCES;
a3cf6921 53}
54
This page took 0.060692 seconds and 5 git commands to generate.