mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
As vodz noticed, I screwed up reboot
This commit is contained in:
parent
340aa1cb3f
commit
4c6c236781
@ -39,11 +39,11 @@ extern int reboot_main(int argc, char **argv)
|
||||
|
||||
#ifndef CONFIG_INIT
|
||||
#ifndef RB_AUTOBOOT
|
||||
#define RB_AUTOBOOT 0x01234567
|
||||
#define RB_AUTOBOOT 0x01234567
|
||||
#endif
|
||||
return(bb_shutdown_system(RB_AUTOBOOT));
|
||||
#else
|
||||
return kill_init(SIGUSR2);
|
||||
return kill_init(SIGTERM);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user