rapid7/metasploit-framework — pull request #1244 by Meatballs1 (2013-01-04 10:16:48+00:00)
Title: Add force option to reboot/shutdown command

Adds -f and -h flags to reboot and shutdown.

-f 1 will force hung apps to close down
-f 2 will try harder and ignore warnings such as 'Other users are logged onto this machine'