projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update applet define from BB_CP_MV to BB_CP and BB_MV.
[oweals/busybox.git]
/
reboot.c
diff --git
a/reboot.c
b/reboot.c
index 3e5f2382c1cf363e1205e5452f4fa08598c21486..74d2cf6434c62856f721dc34600e2664b7899181 100644
(file)
--- a/
reboot.c
+++ b/
reboot.c
@@
-28,9
+28,9
@@
extern int reboot_main(int argc, char **argv)
{
#ifdef BB_FEATURE_LINUXRC
/* don't assume init's pid == 1 */
- return(kill(*(find_pid_by_name("init")), SIG
INT
));
+ return(kill(*(find_pid_by_name("init")), SIG
TERM
));
#else
- return(kill(1, SIG
INT
));
+ return(kill(1, SIG
TERM
));
#endif
}