summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-02-15 02:47:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-02-15 02:47:22 +0000
commit27f84b0fc3ad3a17ba520da460ebecc3a9e4e373 (patch)
treee258a6634a599bd3254c058f0f081324483c7886 /etc
parent160e28913ca2d1f062f6b2e4c1495afdb7fcc573 (diff)
downloadpfsense-27f84b0fc3ad3a17ba520da460ebecc3a9e4e373.zip
pfsense-27f84b0fc3ad3a17ba520da460ebecc3a9e4e373.tar.gz
Woops, call sysctl!
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/pfsense-utils.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 7c62677..f18f0f7 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -152,9 +152,9 @@ function enable_hardware_offloading($interface) {
mwexec("/sbin/ifconfig {$interface} rxcsum 2>/dev/null");
if(stristr($options, "polling") == true)
mwexec("/sbin/ifconfig {$interface} polling 2>/dev/null");
- mwexec("kern.polling.enable=1");
+ mwexec("sysctl kern.polling.enable=1");
} else {
- mwexec("kern.polling.enable=0");
+ mwexec("sysctl kern.polling.enable=0");
}
return;
}
OpenPOWER on IntegriCloud