diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-07 01:19:02 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-07 01:19:02 +0000 |
commit | 512fa4d7ed9c5c48026efa4187ce17164d9abd4c (patch) | |
tree | 2e15455dd59675fb418ff43fc94e3310c8a4b06f | |
parent | 543dcec8bec06d2c367a8ce3301312fbee88e86d (diff) | |
download | pfsense-512fa4d7ed9c5c48026efa4187ce17164d9abd4c.zip pfsense-512fa4d7ed9c5c48026efa4187ce17164d9abd4c.tar.gz |
Use full path to sysctl
-rw-r--r-- | etc/inc/interfaces.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 110d3be..bc0da22 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -435,10 +435,10 @@ function interfaces_carp_bring_up_final() { return; $carp_instances_counter = 0; $counter = 0; - $supress = intval(`sysctl net.inet.carp.suppress_preempt | cut -d" " -f2`); + $supress = intval(`/sbin/sysctl net.inet.carp.suppress_preempt | cut -d" " -f2`); while($supress > 0) { sleep(2); - $supress = intval(`sysctl net.inet.carp.suppress_preempt | cut -d" " -f2`); + $supress = intval(`/sbin/sysctl net.inet.carp.suppress_preempt | cut -d" " -f2`); if($counter > 15) $supress = 0; } |