From 7a575413cdc4c11c26f5d9578b5458a6cbaecdbd Mon Sep 17 00:00:00 2001 From: pjd Date: Thu, 30 Dec 2010 18:06:31 +0000 Subject: For compatibility with Linux and Solaris add poweroff(8). It is implemented as a hard link to shutdown(8) and it is equivalent of: # shutdown -p now While I'm here put one line of usage into one line of C code so it is easier to grep(1) and separate unrelated code with empty line. MFC after: 2 weeks --- sbin/shutdown/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sbin/shutdown/Makefile') diff --git a/sbin/shutdown/Makefile b/sbin/shutdown/Makefile index 09b0b3e..a6ecb93 100644 --- a/sbin/shutdown/Makefile +++ b/sbin/shutdown/Makefile @@ -3,6 +3,8 @@ PROG= shutdown MAN= shutdown.8 +LINKS= ${BINDIR}/shutdown ${BINDIR}/poweroff +MLINKS= shutdown.8 poweroff.8 BINOWN= root BINGRP= operator -- cgit v1.1