3 #include <gpxe/settings.h>
6 #include <gpxe/sanboot.h>
7 #include <usr/autoboot.h>
9 struct setting keep_san_setting __setting
= {
11 .description
= "Preserve SAN connection",
12 .tag
= DHCP_EB_KEEP_SAN
,
13 .type
= &setting_type_int8
,
16 int keep_san ( void ) {
19 keep_san
= fetch_intz_setting ( NULL
, &keep_san_setting
);
23 printf ( "Preserving connection to SAN disk\n" );
24 shutdown_exit_flags
|= SHUTDOWN_KEEP_DEVICES
;