Project

General

Profile

« Previous | Next » 

Revision 5408b3b0

Added by Scott Ullrich almost 20 years ago

  • Cleanup comment
  • Remove debugging echo's

View differences:

etc/inc/pfsense-utils.inc
124 124
    if(isset($config['system']['do_not_use_nic_microcode']))
125 125
	return;
126 126
    if($g['booting']) {
127
	/*    active polling for interface if it supports it
127
	/*    activate polling for interface if it supports it
128 128
	 *    man polling on a freebsd box for the following list
129 129
         */
130 130
	$supported_ints = array('dc', 'em', 'fwe', 'fwip', 'fxp', 'ixgb', 'ste' 
131 131
		'nge', 're', 'rl', 'sf', 'sis', 'ste', 'vge', 'vr', 'xl', 'fxp');
132 132
	foreach($supported_ints as $int) {
133
		echo "\n{$interface} ";
134 133
		if(stristr($interface,$int) != false) {
135
			echo "enable polling for {$interface}";
136 134
			mwexec("/sbin/ifconfig {$interface} polling");
137 135
		}
138 136
	}

Also available in: Unified diff