aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
blob: 9bfe505cf7b59bbf3bf89a0c158c5166273332bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* See LICENSE file for copyright and license details. */

static const char *rcinitcmd[] = { "/bin/rc.init", NULL };
static const char *rcrebootcmd[] = { "/bin/rc.shutdown", "reboot", NULL };
static const char *rcpoweroffcmd[] = { "/bin/rc.shutdown", "poweroff", NULL };

/* if you make this path NULL, then sinit will not use a FIFO */
static const char *fifopath = "/var/run/sinit.fifo";
static Command commands[] = {
	{ "poweroff",        spawn,        { .v = rcpoweroffcmd } },
	{ "reboot",          spawn,        { .v = rcrebootcmd   } },
};