summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions/enablecarp
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-07-07 20:06:37 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-07-07 20:06:37 -0300
commit971de1f98a991a42c448415d34805d2970b86c4f (patch)
tree3c09598d67f04060af6113153c1995d804fb1244 /etc/phpshellsessions/enablecarp
parent79cd8239ed8dd7d2dd0d86475b62ee25c5d5736d (diff)
downloadpfsense-971de1f98a991a42c448415d34805d2970b86c4f.zip
pfsense-971de1f98a991a42c448415d34805d2970b86c4f.tar.gz
Convert almost all /sbin/sysctl calls to php functions
Diffstat (limited to 'etc/phpshellsessions/enablecarp')
-rw-r--r--etc/phpshellsessions/enablecarp2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/phpshellsessions/enablecarp b/etc/phpshellsessions/enablecarp
index 6eb7083..d486c04 100644
--- a/etc/phpshellsessions/enablecarp
+++ b/etc/phpshellsessions/enablecarp
@@ -15,4 +15,4 @@ if(is_array($config['virtualip']['vip'])) {
}
}
interfaces_carp_setup();
-mwexec("/sbin/sysctl net.inet.carp.allow=1");
+set_single_sysctl("net.inet.carp.allow", "1");
OpenPOWER on IntegriCloud