summaryrefslogtreecommitdiffstats
path: root/src/usr/autoboot.c
diff options
context:
space:
mode:
authorMichael Brown2011-01-27 21:35:48 +0100
committerMichael Brown2011-01-27 21:40:26 +0100
commit962cada830e9b0ce7049a59bef4c33ab01c6161e (patch)
tree057160b6a5f46e3e099166102f3a91b393d35103 /src/usr/autoboot.c
parent[xfer] Expose xfer_uri_opener() (diff)
downloadipxe-962cada830e9b0ce7049a59bef4c33ab01c6161e.tar.gz
ipxe-962cada830e9b0ce7049a59bef4c33ab01c6161e.tar.xz
ipxe-962cada830e9b0ce7049a59bef4c33ab01c6161e.zip
[init] Remove concept of "shutdown exit flags"
Remove the concept of shutdown exit flags, and replace it with a counter used to keep track of exposed interfaces that require devices to remain active. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/usr/autoboot.c')
-rw-r--r--src/usr/autoboot.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c
index 738c3cea..df152e3a 100644
--- a/src/usr/autoboot.c
+++ b/src/usr/autoboot.c
@@ -40,9 +40,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
*
*/
-/** Shutdown flags for exit */
-int shutdown_exit_flags = 0;
-
/**
* Perform PXE menu boot when PXE stack is not available
*/
@@ -193,7 +190,6 @@ int boot_root_path ( const char *root_path ) {
if ( fetch_intz_setting ( NULL, &keep_san_setting ) != 0 ) {
printf ( "Preserving connection to SAN device %#02x\n",
drive );
- shutdown_exit_flags |= SHUTDOWN_KEEP_DEVICES;
goto err_keep_san;
}