Date: Sun, 6 Oct 2002 09:24:36 -0700 (PDT) From: Thomas Quinot <thomas@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/reboot reboot.c Message-ID: <200210061624.g96GObwW088326@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
thomas 2002/10/06 09:24:36 PDT Modified files: sbin/reboot reboot.c Log: Set only the RB_POWEROFF flag (not the RB_HALT flag) when '-p' is used on the reboot(8) command line. This is intended for use when you want to attempt a power down action, but you want the system to reboot (not halt) if the power down action fails. This is typically useful when the power-off action performed by the kernel consists in signalling an uninterrupted power supply that it should shut down its inverter if mains power has not returned. The behaviour of shutdown(8) and init(8) is not modified; only the behaviour of invoking 'reboot -p' manually is modified, and then only in the case when a power-down action fails. Sounded reasonable to: phk Approved by: roberto (mentor) Revision Changes Path 1.17 +1 -1 src/sbin/reboot/reboot.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210061624.g96GObwW088326>