]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
misc-progs: Drop unused ipfiredeath & ipfirerebirth
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 5 Jan 2021 17:02:44 +0000 (17:02 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 6 Jan 2021 14:48:39 +0000 (14:48 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/misc-progs/ipfiredeath.c [deleted file]
src/misc-progs/ipfirerebirth.c [deleted file]

diff --git a/src/misc-progs/ipfiredeath.c b/src/misc-progs/ipfiredeath.c
deleted file mode 100644 (file)
index 8a13fa6..0000000
+++ /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 <stdlib.h>
-#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 (file)
index 10230c3..0000000
+++ /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 <stdlib.h>
-#include "setuid.h"
-
-int main(void)
-{
-       if (!(initsetuid()))
-               exit(1);
-                       
-       safe_system("/sbin/shutdown -r now");
-       
-       return 0;
-}