aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
blob: a257b45dc9e54465f15894c643bb6488cf0563e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* 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 };

static const char *fifopath = "/var/run/sinit.fifo";
static Command commands[] = {
	{ "poweroff",        spawn,        { .v = rcpoweroffcmd } },
	{ "reboot",          spawn,        { .v = rcrebootcmd   } },
};