diff options
author | Chris Buechler <cmb@pfsense.org> | 2008-01-21 06:57:36 +0000 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2008-01-21 06:57:36 +0000 |
commit | 855645a8c3929a41e6500002791538fe7cfc4906 (patch) | |
tree | 413711bd1726b69899292411755bf8a91446bd61 | |
parent | b448e2cb0969b70572ae95e7c32414cbdb7b25ab (diff) | |
download | pfsense-855645a8c3929a41e6500002791538fe7cfc4906.zip pfsense-855645a8c3929a41e6500002791538fe7cfc4906.tar.gz |
Remove accidentally added debug code
-rw-r--r-- | etc/inc/interfaces.inc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index f86b657..397c0da 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -782,17 +782,10 @@ function find_dhclient_process($interface) { function interfaces_wan_configure() { - require_once("Timer.php"); - $timer = new Benchmark_Timer; - - $timer->start(); - global $config, $g, $bridges_total; $wancfg = $config['interfaces']['wan']; -$timer->setMarker('marker1'); - if(!$g['booting']) { mute_kernel_msgs(); @@ -801,14 +794,12 @@ $timer->setMarker('marker1'); /* remove wanup file if it exists */ unlink_if_exists("{$g['tmp_path']}/wanup"); -$timer->setMarker('marker2'); /* kill PPPoE client (mpd) */ killbypid("{$g['varrun_path']}/mpd.pid"); /* wait for processes to die */ sleep(3); -$timer->setMarker('marker3'); unlink_if_exists("{$g['varetc_path']}/dhclient_wan.conf"); unlink_if_exists("{$g['varetc_path']}/mpd.conf"); unlink_if_exists("{$g['varetc_path']}/mpd.links"); @@ -820,8 +811,6 @@ $timer->setMarker('marker3'); while (mwexec("/sbin/ifconfig " . escapeshellarg($wancfg['if']) . " -alias") == 0); mwexec("/sbin/ifconfig " . escapeshellarg($wancfg['if']) . " down"); -$timer->setMarker('marker4'); - /* wireless configuration? */ if (is_array($wancfg['wireless'])) interfaces_wireless_configure($wancfg['if'], $wancfg['wireless']); @@ -845,8 +834,6 @@ $timer->setMarker('marker4'); } } -$timer->setMarker('marker5'); - /* media */ if ($wancfg['media'] || $wancfg['mediaopt']) { $cmd = "/sbin/ifconfig " . escapeshellarg($wancfg['if']); |