Project

General

Profile

« Previous | Next » 

Revision c9fa8254

Added by Scott Ullrich almost 15 years ago

Show disabled interfaces as well

View differences:

etc/inc/config.console.inc
411 411
		write_config();
412 412
		echo "done.\n";
413 413

  
414
		echo <<<EOD
415

  
416

  
417

  
418
EOD;
419

  
420 414
		fclose($fp);
415

  
421 416
		if($g['booting'])
422 417
			return;
423 418

  
......
461 456
	return null;
462 457
}
463 458

  
459
function interfaces_setup() {
460
	global $iflist, $config, $g, $fp;
461

  
462
	$iflist = get_interface_list();
463

  
464
	
465
}
466

  
464 467
function vlan_setup() {
465 468
	global $iflist, $config, $g, $fp;
466 469

  
etc/rc.initial.setlanip
62 62
	$addr_blank = false;
63 63

  
64 64
	/* build an interface collection */
65
	$ifdescrs = get_configured_interface_with_descr();
65
	$ifdescrs = get_configured_interface_with_descr(false, true);
66 66
	$j = count($ifdescrs);
67 67
	
68 68
	/* grab interface that we will operate on, unless there is only one

Also available in: Unified diff