summaryrefslogtreecommitdiff
path: root/src/minutils/halt.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-03-17 14:06:46 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-03-17 14:06:46 +0000
commit96893711ec76b3c3b554313d7e97560b3cd62179 (patch)
treea783948a9d20e8a8434c63ba928c290b22ddb363 /src/minutils/halt.c
parent82776d2fe715afcded74b3841f6d9a5b410e16c5 (diff)
downloads6-linux-utils-96893711ec76b3c3b554313d7e97560b3cd62179.tar.xz
Add halt, poweroff, reboot as unexported commands
Diffstat (limited to 'src/minutils/halt.c')
-rw-r--r--src/minutils/halt.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/minutils/halt.c b/src/minutils/halt.c
new file mode 100644
index 0000000..8ef9ef4
--- /dev/null
+++ b/src/minutils/halt.c
@@ -0,0 +1,7 @@
+/* ISC license. */
+
+#undef PROGNAME
+#define PROGNAME "halt"
+#undef WHATDEFAULT
+#define WHATDEFAULT 1
+#include "hpr.c"