aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-10-12 22:26:06 +0000
committerEric Andersen <andersen@codepoet.org>1999-10-12 22:26:06 +0000
commit3cf52d19581b2077480e7d2e63010baa1f5399c1 (patch)
treed91b0cb332ebc976126e36a394655dde7a15d8b1 /init
parent2ce1edcf544ac675e6762c9861a6b918401ea716 (diff)
downloadbusybox-w32-3cf52d19581b2077480e7d2e63010baa1f5399c1.tar.gz
busybox-w32-3cf52d19581b2077480e7d2e63010baa1f5399c1.tar.bz2
busybox-w32-3cf52d19581b2077480e7d2e63010baa1f5399c1.zip
More stuff...
Diffstat (limited to 'init')
-rw-r--r--init/reboot.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/init/reboot.c b/init/reboot.c
index 0388fbce7..f915205ea 100644
--- a/init/reboot.c
+++ b/init/reboot.c
@@ -1,12 +1,8 @@
1#include "internal.h" 1#include "internal.h"
2#include <signal.h> 2#include <signal.h>
3 3
4const char reboot_usage[] = "reboot\n"
5"\n\t"
6"\treboot the system.\n";
7
8extern int 4extern int
9reboot_main(struct FileInfo * i, int argc, char * * argv) 5reboot_main(int argc, char ** argv)
10{ 6{
11 return kill(1, SIGUSR2); 7 exit( kill(1, SIGUSR2));
12} 8}