Disable booting from network devices. Signed-off-by: Edward Shishkin --- stage2/fsys_btrfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- grub-0.97.orig/stage2/fsys_btrfs.c +++ grub-0.97/stage2/fsys_btrfs.c @@ -452,7 +452,7 @@ static u64 scan_grub_devices(struct btrf goto exit; } } -#ifdef SUPPORT_NETBOOT +#if 0 errnum = ERR_NONE; if (network_ready && !get_diskinfo(NETWORK_DRIVE, &geom)) { @@ -465,7 +465,7 @@ static u64 scan_grub_devices(struct btrf goto exit; } } -#endif /* SUPPORT_NETBOOT */ +#endif /* 0 */ exit: return count; }