]> andersk Git - moira.git/blame - server/mr_shutdown.c
Command line printer manipulation client, and build goo.
[moira.git] / server / mr_shutdown.c
CommitLineData
7ac48069 1/* $Id$
a3cf6921 2 *
7ac48069 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>.
a3cf6921 6 */
7
c801de4c 8#include <mit-copyright.h>
d548a4e7 9#include "mr_server.h"
a3cf6921 10
7ac48069 11#include <errno.h>
12
13RCSID("$Header$");
14
a3cf6921 15extern char *takedown;
16extern char *whoami;
17
03c05291 18void sigshut(int sig)
a3cf6921 19{
5eaef520 20 takedown = "Shut down by signal.";
a3cf6921 21}
22
5eaef520 23void do_shutdown(client *cl)
a3cf6921 24{
5eaef520 25 /*
26 * This feature is no longer supported. Sorry.
27 */
28 com_err(whoami, 0, "Shutdown request by %s rejected", cl->clname);
85330553 29 client_reply(cl, EACCES);
a3cf6921 30}
5eaef520 31
This page took 1.86838 seconds and 5 git commands to generate.