From 971de1f98a991a42c448415d34805d2970b86c4f Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 7 Jul 2014 20:06:37 -0300 Subject: Convert almost all /sbin/sysctl calls to php functions --- etc/phpshellsessions/enablecarp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/phpshellsessions/enablecarp') 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"); -- cgit v1.1