mirror of
https://github.com/ipxe/ipxe
synced 2025-12-08 10:20:24 +03:00
[contrib] Fix rom-o-matic
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
committed by
Michael Brown
parent
d3630b6a64
commit
4108321bf5
@@ -1,4 +1,4 @@
|
||||
<? // -*- Mode: PHP; -*-
|
||||
<?php // -*- Mode: PHP; -*-
|
||||
|
||||
/**
|
||||
* Copyright (C) 2009 Marty Connor <mdc@etherboot.org>.
|
||||
@@ -131,7 +131,8 @@ function parse_nic_file ()
|
||||
if ( strpos ( $first_eight_chars, "family" ) === 0 ) {
|
||||
|
||||
// get pathname of NIC driver
|
||||
list ( $dummy, $nic ) = split( "[ \t]+", $line );
|
||||
#list ( $dummy, $nic ) = split( "[ \t]+", $line );
|
||||
list ( $dummy, $nic ) = explode("\t", $line);
|
||||
settype ( $nic, "string" );
|
||||
|
||||
// extract filename name of driver from pathname
|
||||
|
||||
Reference in New Issue
Block a user