diff options
author | Ermal <eri@pfsense.org> | 2012-04-05 20:23:10 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-04-05 20:23:10 +0000 |
commit | 00b97dee82cadd6bcc6e3a58eca0d133ae596023 (patch) | |
tree | 116b6497ae136c672e9705d983b021ce0242357b /etc | |
parent | 4d0c032c528b10221a2ef894b5eca34f6fda39a7 (diff) | |
download | pfsense-00b97dee82cadd6bcc6e3a58eca0d133ae596023.zip pfsense-00b97dee82cadd6bcc6e3a58eca0d133ae596023.tar.gz |
Reread config after doing footshooting
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/upgrade_config.inc | 3 |
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); } } |