aboutsummaryrefslogtreecommitdiff
path: root/sbin/shutdown/Makefile
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2010-12-30 18:06:31 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2010-12-30 18:06:31 +0000
commit6868734cbe9f08a48af5f89ab9c1bbce1f72ce1c (patch)
tree841e4912bb3223fec4f317ed614a2a385cbb5dec /sbin/shutdown/Makefile
parent4a9ef3f833f49f7ade32cdc8050d5b06a01bef76 (diff)
downloadsrc-6868734cbe9f08a48af5f89ab9c1bbce1f72ce1c.tar.gz
src-6868734cbe9f08a48af5f89ab9c1bbce1f72ce1c.zip
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
Notes
Notes: svn path=/head/; revision=216823
Diffstat (limited to 'sbin/shutdown/Makefile')
-rw-r--r--sbin/shutdown/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/shutdown/Makefile b/sbin/shutdown/Makefile
index 09b0b3ebf01d..a6ecb93519f0 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