diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-03-17 14:06:46 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-03-17 14:06:46 +0000 |
commit | 96893711ec76b3c3b554313d7e97560b3cd62179 (patch) | |
tree | a783948a9d20e8a8434c63ba928c290b22ddb363 /src/minutils/poweroff.c | |
parent | 82776d2fe715afcded74b3841f6d9a5b410e16c5 (diff) | |
download | s6-linux-utils-96893711ec76b3c3b554313d7e97560b3cd62179.tar.gz s6-linux-utils-96893711ec76b3c3b554313d7e97560b3cd62179.tar.xz s6-linux-utils-96893711ec76b3c3b554313d7e97560b3cd62179.zip |
Add halt, poweroff, reboot as unexported commands
Diffstat (limited to 'src/minutils/poweroff.c')
-rw-r--r-- | src/minutils/poweroff.c | 7 |
1 files changed, 7 insertions, 0 deletions
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" |