From 96893711ec76b3c3b554313d7e97560b3cd62179 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 17 Mar 2016 14:06:46 +0000 Subject: Add halt, poweroff, reboot as unexported commands --- src/minutils/poweroff.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/minutils/poweroff.c (limited to 'src/minutils/poweroff.c') diff --git a/src/minutils/poweroff.c b/src/minutils/poweroff.c new file mode 100644 index 0000000..2856aac --- /dev/null +++ b/src/minutils/poweroff.c @@ -0,0 +1,7 @@ +/* ISC license. */ + +#undef PROGNAME +#define PROGNAME "poweroff" +#undef WHATDEFAULT +#define WHATDEFAULT 2 +#include "hpr.c" -- cgit v1.2.3