aboutsummaryrefslogtreecommitdiff
path: root/reboot.c
blob: 0388fbce7656a75402b771a7a67b15dd10e93eb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "internal.h"
#include <signal.h>

const char	reboot_usage[] = "reboot\n"
"\n\t"
"\treboot the system.\n";

extern int
reboot_main(struct FileInfo * i, int argc, char * * argv)
{
	return kill(1, SIGUSR2);
}