Revision 2e19a683
Added by Renato Botelho over 12 years ago
usr/local/www/diag_backup.php | ||
---|---|---|
515 | 515 |
$savemsg = gettext("The m0n0wall configuration has been restored and upgraded to pfSense."); |
516 | 516 |
mark_subsystem_dirty("restore"); |
517 | 517 |
} |
518 |
if(isset($config['captiveportal']['enable'])) { |
|
519 |
/* for some reason ipfw doesn't init correctly except on bootup sequence */ |
|
520 |
mark_subsystem_dirty("restore"); |
|
518 |
if(is_array($config['captiveportal'])) { |
|
519 |
foreach($config['captiveportal'] as $cp) { |
|
520 |
if (isset($cp['enable'])) { |
|
521 |
/* for some reason ipfw doesn't init correctly except on bootup sequence */ |
|
522 |
mark_subsystem_dirty("restore"); |
|
523 |
break; |
|
524 |
} |
|
525 |
} |
|
521 | 526 |
} |
522 | 527 |
setup_serial_port(); |
523 | 528 |
if(is_interface_mismatch() == true) { |
Also available in: Unified diff
Adjust backup settings to new captive portal zones