diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-11 23:32:31 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-11 23:32:31 +0000 |
commit | 00bc51be16a8deb3a3b07eeca19001574d1bf819 (patch) | |
tree | 20fa6af0893e4c04526d6954c6ba9b39248d2fc9 /packages/carp.xml | |
parent | 5f838ec30ffbe2531c4cd61cbefa05f1c9826cac (diff) | |
download | pfsense-packages-00bc51be16a8deb3a3b07eeca19001574d1bf819.tar.gz pfsense-packages-00bc51be16a8deb3a3b07eeca19001574d1bf819.tar.bz2 pfsense-packages-00bc51be16a8deb3a3b07eeca19001574d1bf819.zip |
Reload carp settings in the background
Diffstat (limited to 'packages/carp.xml')
-rw-r--r-- | packages/carp.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/carp.xml b/packages/carp.xml index 5b53ddfe..569d2867 100644 --- a/packages/carp.xml +++ b/packages/carp.xml @@ -250,9 +250,9 @@ fwrite($fout, "/etc/rc.filter_configure"); fclose($fout); 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"); + system("/usr/local/etc/rc.d/carp.sh >/dev/null &"); + if($using_arp_balance == 1) mwexec("sysctl net.inet.arpbalance=1"); + if($preempt == 1) mwexec("sysctl net.inet.carp.preempt=1"); conf_mount_ro(); config_unlock(); } |