From 03c80c12b8e9019554c3bd4545cf68926ee1ce47 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 17 Jul 2008 17:45:17 +0100 Subject: [iSCSI] Support Windows Server 2008 direct iSCSI installation Add yet another ugly hack to iscsiboot.c, this time to allow the user to inhibit the shutdown/removal of the iSCSI INT13 device (and the network devices, since they are required for the iSCSI device to function). On the plus side, the fact that shutdown() now takes flags to differentiate between shutdown-for-exit and shutdown-for-boot means that another ugly hack (to allow returning via the PXE stack on BIOSes that have broken INT 18 calls) will be easier. I feel dirty. --- src/interface/pxe/pxe_preboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interface') diff --git a/src/interface/pxe/pxe_preboot.c b/src/interface/pxe/pxe_preboot.c index b2914d36..8220d1f2 100644 --- a/src/interface/pxe/pxe_preboot.c +++ b/src/interface/pxe/pxe_preboot.c @@ -318,7 +318,7 @@ PXENV_EXIT_t pxenv_stop_undi ( struct s_PXENV_STOP_UNDI *stop_undi ) { pxe_set_netdev ( NULL ); /* Prepare for unload */ - shutdown(); + shutdown ( SHUTDOWN_BOOT ); stop_undi->Status = PXENV_STATUS_SUCCESS; return PXENV_EXIT_SUCCESS; -- cgit v1.2.3-55-g7522