]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r314239:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 12 Mar 2017 04:32:31 +0000 (04:32 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 12 Mar 2017 04:32:31 +0000 (04:32 +0000)
commit94064d0e2b985310b93307c0f9ecc511ea57ab22
tree91eecf3a8c99ca34c6031d45e0b7f2cb9c841aae
parent7fbee532ecbce078c8e770ea5d35eed751628d58
MFC r314239:

Add shutdown/poweroff support to rescue(8)

shutdown is a safer way to power off than reboot (in general), because of
the added shutdown process that it executes via /etc/rc.shutdown . It was
odd that it was missing from rescue(8) since reboot and friends were
added in past commits.

While here, alias poweroff to shutdown for parity with sbin/shutdown/Makefile

git-svn-id: svn://svn.freebsd.org/base/stable/10@315116 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
rescue/rescue/Makefile