keepsan.c File Reference

#include <stdint.h>
#include <stdio.h>
#include <gpxe/settings.h>
#include <gpxe/dhcp.h>
#include <gpxe/init.h>
#include <gpxe/sanboot.h>
#include <usr/autoboot.h>

Go to the source code of this file.

Functions

int keep_san (void)

Variables

struct setting keep_san_setting __setting
 802.11 encryption key setting


Function Documentation

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 }


Generated on Tue Apr 6 20:01:13 2010 for gPXE by  doxygen 1.5.7.1