aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-02-06 11:14:33 +0000
committersin <sin@2f30.org>2014-02-06 11:14:33 +0000
commit51664faebcc10b53a1a78cff95f0efc04a2c7f8e (patch)
treefeb5e28aab2356c97a4624bffc45948ca6fee4be /config.def.h
Initial commit
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
new file mode 100644
index 0000000..050d7e0
--- /dev/null
+++ b/config.def.h
@@ -0,0 +1,6 @@
+/* See LICENSE file for copyright and license details. */
+static const char *fifopath = "/var/run/sinit.fifo";
+static Command commands[] = {
+ { "poweroff", cmdpoweroff, {0} },
+ { "reboot", cmdreboot, {0} },
+};