aboutsummaryrefslogtreecommitdiffstats
path: root/packages/carp.xml
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-23 03:26:26 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-23 03:26:26 +0000
commit3f5f909437fa35157a88833a77f37deed18b96cc (patch)
treeb18502c14e8014faa389a1f89927fba758e9f6fe /packages/carp.xml
parent9c4a1346b6362f18a278498fa345909d926bb64a (diff)
downloadpfsense-packages-3f5f909437fa35157a88833a77f37deed18b96cc.tar.gz
pfsense-packages-3f5f909437fa35157a88833a77f37deed18b96cc.tar.bz2
pfsense-packages-3f5f909437fa35157a88833a77f37deed18b96cc.zip
use mwexec instead of system to prevent text from spewing to web browser
Diffstat (limited to 'packages/carp.xml')
-rw-r--r--packages/carp.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/carp.xml b/packages/carp.xml
index 8e78cc88..8a1a665e 100644
--- a/packages/carp.xml
+++ b/packages/carp.xml
@@ -258,8 +258,8 @@
}
}
fclose($fout);
- system("chmod a+x /usr/local/etc/rc.d/carp.sh");
- system("/usr/local/etc/rc.d/carp.sh");
+ mwexec("chmod a+x /usr/local/etc/rc.d/carp.sh");
+ mwexec("/usr/local/etc/rc.d/carp.sh");
if($using_arp_balance == 1) system("sysctl net.inet.arpbalance=1");
if($preempt == 1) system("sysctl net.inet.carp.preempt=1");
}