diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-10-12 22:26:06 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-10-12 22:26:06 +0000 |
commit | 47c3ab001361a9a52708b1491ae5b9ced4f2adf1 (patch) | |
tree | d91b0cb332ebc976126e36a394655dde7a15d8b1 /init | |
parent | 41c2646fd13728f4fa105fea568d451ab26b4012 (diff) | |
download | busybox-w32-47c3ab001361a9a52708b1491ae5b9ced4f2adf1.tar.gz busybox-w32-47c3ab001361a9a52708b1491ae5b9ced4f2adf1.tar.bz2 busybox-w32-47c3ab001361a9a52708b1491ae5b9ced4f2adf1.zip |
More stuff...
git-svn-id: svn://busybox.net/trunk/busybox@19 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
-rw-r--r-- | init/reboot.c | 8 |
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 | ||
4 | const char reboot_usage[] = "reboot\n" | ||
5 | "\n\t" | ||
6 | "\treboot the system.\n"; | ||
7 | |||
8 | extern int | 4 | extern int |
9 | reboot_main(struct FileInfo * i, int argc, char * * argv) | 5 | reboot_main(int argc, char ** argv) |
10 | { | 6 | { |
11 | return kill(1, SIGUSR2); | 7 | exit( kill(1, SIGUSR2)); |
12 | } | 8 | } |