Revision 19ee38b4
Added by Chris Buechler almost 16 years ago
etc/rc.bootup | ||
---|---|---|
191 | 191 |
/* start syslogd */ |
192 | 192 |
system_syslogd_start(); |
193 | 193 |
|
194 |
/* setup interface microcode which improves tcp/ip speed */ |
|
195 |
echo "Setting up microcode and tx/rx offloading..."; |
|
196 |
setup_microcode(); |
|
197 |
echo "done.\n"; |
|
198 |
|
|
194 | 199 |
/* set up VLAN virtual interfaces */ |
195 | 200 |
interfaces_vlan_configure(); |
196 | 201 |
|
... | ... | |
239 | 244 |
slbd_configure(); |
240 | 245 |
|
241 | 246 |
/* start OpenVPN server & clients */ |
242 |
openvpn_resync_all();
|
|
247 |
openvpn_resync_all();
|
|
243 | 248 |
|
244 | 249 |
/* setup altq + pf */ |
245 | 250 |
echo "Configuring firewall..."; |
... | ... | |
303 | 308 |
/* setup polling */ |
304 | 309 |
setup_polling(); |
305 | 310 |
|
306 |
/* setup interface microcode which improves tcp/ip speed */ |
|
307 |
echo "Setting up microcode and tx/rx offloading..."; |
|
308 |
setup_microcode(); |
|
309 |
echo "done.\n"; |
|
310 |
|
|
311 | 311 |
mwexec("/sbin/pfctl -f /tmp/rules.debug"); |
312 | 312 |
|
313 | 313 |
interfaces_carp_bring_up_final(); |
Also available in: Unified diff
move setup_microcode above the interface configuration, so in circumstances where the interface configuration needs to override those settings for working around certain problems (like disabling tx/rx checksum for wireless bridging) it doesn't get stomped on at boot time.