]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/kern/kern_shutdown.c
xnu-792.22.5.tar.gz
[apple/xnu.git] / bsd / kern / kern_shutdown.c
index 1fcd585aee2def3085c0f5044b4f1e36f8e64a47..592368bb45639cbe8f84498b1ab8e9543280624e 100644 (file)
@@ -147,6 +147,10 @@ boot(paniced, howto, command)
        if (paniced == RB_PANIC)
                hostboot_option = HOST_REBOOT_HALT;
 
+    if (howto & RB_UPSDELAY) {
+        hostboot_option = HOST_REBOOT_UPSDELAY;
+    }
+
        /*
         * if we're going to power down due to a halt,
         * give the disks a chance to finish getting