busybox/init/halt.c

13 lines
207 B
C
Raw Normal View History

1999-10-05 21:54:54 +05:30
#include "internal.h"
#include <signal.h>
const char halt_usage[] = "halt\n"
"\n\t"
"\thalt the system.\n";
extern int
halt_main(struct FileInfo * i, int argc, char * * argv)
{
return kill(1, SIGUSR1);
}