Revision 26b6e758
Added by Jim Pingle over 11 years ago
etc/inc/upgrade_config.inc | ||
---|---|---|
2818 | 2818 |
$config['captiveportal']['cpzone'] = array(); |
2819 | 2819 |
$config['captiveportal']['cpzone'] = $tmpcp; |
2820 | 2820 |
$config['captiveportal']['cpzone']['zoneid'] = 8000; |
2821 |
$config['captiveportal']['cpzone']['zone'] = "cpzone"; |
|
2821 | 2822 |
if ($config['captiveportal']['cpzone']['auth_method'] == "radius") |
2822 | 2823 |
$config['captiveportal']['cpzone']['radius_protocol'] = "PAP"; |
2823 | 2824 |
} |
Also available in: Unified diff
Make sure to give the zone a name during the upgrade, or else it comes through with a blank/null name.