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

static const char *rcinitcmd[] = { "/bin/rc.init", NULL };
static Arg rcinitarg = { .v = rcinitcmd };

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   } },
};