diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-07-06 12:03:13 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-07-06 12:03:34 -0400 |
commit | d442e4e2beb69c5c4f6a30cd3a63b8dcd67e9117 (patch) | |
tree | 97954a5f07f5261f640b10cfaa91638ed80998f6 /usr/local | |
parent | 6bb91286ec348d5e716ce2beedacbda982437f2f (diff) | |
download | pfsense-d442e4e2beb69c5c4f6a30cd3a63b8dcd67e9117.zip pfsense-d442e4e2beb69c5c4f6a30cd3a63b8dcd67e9117.tar.gz |
Call convert_config(); after import.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/diag_backup.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php index d7fe52e..9d542d5 100755 --- a/usr/local/www/diag_backup.php +++ b/usr/local/www/diag_backup.php @@ -290,6 +290,7 @@ if ($_POST) { unlink_if_exists("/tmp/config.cache"); write_config(); add_base_packages_menu_items(); + convert_config(); conf_mount_ro(); } if($m0n0wall_upgrade == true) { @@ -305,6 +306,7 @@ if ($_POST) { unlink_if_exists("/tmp/config.cache"); write_config(); add_base_packages_menu_items(); + convert_config(); conf_mount_ro(); $savemsg = "The m0n0wall configuration has been restored and upgraded to pfSense.<p>The firewall is now rebooting."; $reboot_needed = true; |