summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-04-05 20:23:10 +0000
committerErmal <eri@pfsense.org>2012-04-05 20:23:10 +0000
commit00b97dee82cadd6bcc6e3a58eca0d133ae596023 (patch)
tree116b6497ae136c672e9705d983b021ce0242357b /etc
parent4d0c032c528b10221a2ef894b5eca34f6fda39a7 (diff)
downloadpfsense-00b97dee82cadd6bcc6e3a58eca0d133ae596023.zip
pfsense-00b97dee82cadd6bcc6e3a58eca0d133ae596023.tar.gz
Reread config after doing footshooting
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/upgrade_config.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc
index 8e5c749..0eee712 100644
--- a/etc/inc/upgrade_config.inc
+++ b/etc/inc/upgrade_config.inc
@@ -2651,7 +2651,8 @@ function upgrade_080_to_081() {
file_put_contents("{$g['tmp_path']}/vipreplace", "s/vip{$vip['vhid']}/{$realif}_vip{$vip['vhid']}/g\n");
}
mwexec("/bin/sh -I \"\" -f {$g['tmp_path']}/vipreplace /conf/config.xml");
- @unlink("{$g['tmp_path']}/config.cache");
+ require_once("config.lib.inc");
+ $config = parse_config(true);
}
}
OpenPOWER on IntegriCloud