#include <gpxe/tables.h>Go to the source code of this file.
Data Structures | |
| struct | sanboot_protocol |
Defines | |
| #define | SANBOOT_PROTOCOLS __table ( struct sanboot_protocol, "sanboot_protocols" ) |
| #define | __sanboot_protocol __table_entry ( SANBOOT_PROTOCOLS, 01 ) |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER) | |
| int | keep_san (void) |
| #define SANBOOT_PROTOCOLS __table ( struct sanboot_protocol, "sanboot_protocols" ) |
| #define __sanboot_protocol __table_entry ( SANBOOT_PROTOCOLS, 01 ) |
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
| int keep_san | ( | void | ) |
Definition at line 16 of file keepsan.c.
References fetch_intz_setting(), keep_san(), NULL, printf(), shutdown_exit_flags, and SHUTDOWN_KEEP_DEVICES.
Referenced by aoeboot(), ib_srpboot(), iscsiboot(), and keep_san().
00016 { 00017 int keep_san; 00018 00019 keep_san = fetch_intz_setting ( NULL, &keep_san_setting ); 00020 if ( ! keep_san ) 00021 return 0; 00022 00023 printf ( "Preserving connection to SAN disk\n" ); 00024 shutdown_exit_flags |= SHUTDOWN_KEEP_DEVICES; 00025 return 1; 00026 }
1.5.7.1