As vodz noticed, I screwed up reboot

This commit is contained in:
Eric Andersen 2003-07-22 17:04:54 +00:00
parent 340aa1cb3f
commit 4c6c236781

View File

@ -39,11 +39,11 @@ extern int reboot_main(int argc, char **argv)
#ifndef CONFIG_INIT #ifndef CONFIG_INIT
#ifndef RB_AUTOBOOT #ifndef RB_AUTOBOOT
#define RB_AUTOBOOT 0x01234567 #define RB_AUTOBOOT 0x01234567
#endif #endif
return(bb_shutdown_system(RB_AUTOBOOT)); return(bb_shutdown_system(RB_AUTOBOOT));
#else #else
return kill_init(SIGUSR2); return kill_init(SIGTERM);
#endif #endif
} }