From 7908de2a952edc91b1effa6245dbb6dc80b7dafc Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 5 Jan 2021 17:02:44 +0000 Subject: [PATCH] misc-progs: Drop unused ipfiredeath & ipfirerebirth Signed-off-by: Michael Tremer --- src/misc-progs/ipfiredeath.c | 25 ------------------------- src/misc-progs/ipfirerebirth.c | 25 ------------------------- 2 files changed, 50 deletions(-) delete mode 100644 src/misc-progs/ipfiredeath.c delete mode 100644 src/misc-progs/ipfirerebirth.c diff --git a/src/misc-progs/ipfiredeath.c b/src/misc-progs/ipfiredeath.c deleted file mode 100644 index 8a13fa60a8..0000000000 --- a/src/misc-progs/ipfiredeath.c +++ /dev/null @@ -1,25 +0,0 @@ -/* SmoothWall helper program - smoothiedeath - * - * This program is distributed under the terms of the GNU General Public - * Licence. See the file COPYING for details. - * - * (c) Lawrence Manning, 2001 - * Simple program intended to be installed setuid(0) that can be used for - * starting shutdown. - * - * $Id: ipcopdeath.c,v 1.2 2003/12/11 10:57:34 riddles Exp $ - * - */ - -#include -#include "setuid.h" - -int main(void) -{ - if (!(initsetuid())) - exit(1); - - safe_system("/sbin/shutdown -h now"); - - return 0; -} diff --git a/src/misc-progs/ipfirerebirth.c b/src/misc-progs/ipfirerebirth.c deleted file mode 100644 index 10230c3e10..0000000000 --- a/src/misc-progs/ipfirerebirth.c +++ /dev/null @@ -1,25 +0,0 @@ -/* SmoothWall helper program - smoothierebirth - * - * This program is distributed under the terms of the GNU General Public - * Licence. See the file COPYING for details. - * - * (c) Lawrence Manning, 2001 - * Simple program intended to be installed setuid(0) that can be used for - * starting reboot. - * - * $Id: ipcoprebirth.c,v 1.2 2003/12/11 10:57:34 riddles Exp $ - * - */ - -#include -#include "setuid.h" - -int main(void) -{ - if (!(initsetuid())) - exit(1); - - safe_system("/sbin/shutdown -r now"); - - return 0; -} -- 2.39.2