--- /dev/null
+/* SmoothWall helper program - smoothierebirth\r
+ *\r
+ * This program is distributed under the terms of the GNU General Public\r
+ * Licence. See the file COPYING for details.\r
+ *\r
+ * (c) Lawrence Manning, 2001\r
+ * Simple program intended to be installed setuid(0) that can be used for\r
+ * starting reboot.\r
+ * \r
+ * $Id: ipcoprebirth.c,v 1.2 2003/12/11 10:57:34 riddles Exp $\r
+ * \r
+ */\r
+ \r
+#include <stdlib.h>\r
+#include "setuid.h"\r
+\r
+int main(void)\r
+{\r
+ if (!(initsetuid()))\r
+ exit(1);\r
+ \r
+ safe_system("/sbin/shutdown -r now");\r
+ \r
+ return 0;\r
+}\r