diff options
author | Colin Smith <colin@pfsense.org> | 2005-02-26 04:35:32 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-02-26 04:35:32 +0000 |
commit | 90c54d668f3b0c5bcd7767e11da5aa1479b4861f (patch) | |
tree | 397d3c5489f7bf4e2c1e8aedcde8e4ab0bcf624f /packages/carp.xml | |
parent | 0f57225f3c0364ae17ccc5a79d18dd719e7e4658 (diff) | |
download | pfsense-packages-90c54d668f3b0c5bcd7767e11da5aa1479b4861f.tar.gz pfsense-packages-90c54d668f3b0c5bcd7767e11da5aa1479b4861f.tar.bz2 pfsense-packages-90c54d668f3b0c5bcd7767e11da5aa1479b4861f.zip |
* Add config locking and remounting.
* FreeRADIUS typo correction.
* Change <name> in powerdns.xml: nmap -> powerdns
Diffstat (limited to 'packages/carp.xml')
-rw-r--r-- | packages/carp.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/carp.xml b/packages/carp.xml index db8d8ca5..8b5fbce4 100644 --- a/packages/carp.xml +++ b/packages/carp.xml @@ -226,6 +226,8 @@ * XXX: find out how many carp and pfsync interfaces are established * and destroy/down them before sweeping through the list */ + conf_mount_rw(); + config_lock(); $fout = fopen("/usr/local/etc/rc.d/carp.sh","w"); fwrite($fout, "#!/bin/sh \n"); global $config; @@ -269,6 +271,8 @@ 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"); + conf_mount_ro(); + config_unlock(); } </custom_php_command_before_form> <custom_php_resync_config_command> |