]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 216823, 223991, 223992:
authorgjb <gjb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 22 Jul 2011 00:57:37 +0000 (00:57 +0000)
committergjb <gjb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 22 Jul 2011 00:57:37 +0000 (00:57 +0000)
commit29fcd2e2c8ae5eab4d0b8fa4830b111627e4448b
tree0a2c94e6b6b1b504763d8e2d63665adde1200a59
parent48bac30f1de060409d214c895b93742e461dbee2
MFC 216823, 223991, 223992:

216823 (by pjd):
- 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.

223991:
- Improvements to the shutdown(8) manual.

223992:
- Remove trailing whitespace in the shutdown(8) manual.

Approved by: delphij

git-svn-id: svn://svn.freebsd.org/base/stable/8@224259 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/shutdown/Makefile
sbin/shutdown/shutdown.8
sbin/shutdown/shutdown.c