Revision 408ebb78
Added by Jim Pingle almost 12 years ago
etc/inc/globals.inc | ||
---|---|---|
99 | 99 |
|
100 | 100 |
if(file_exists("/etc/platform")) { |
101 | 101 |
$arch = php_uname("m"); |
102 |
$arch = ($arch == "i386") ? "" : '/' . $arch; |
|
103 |
|
|
104 |
/* Full installs and NanoBSD use the same update directory and manifest in 2.x */ |
|
105 |
$g['update_url']="http://updates.pfsense.org/_updaters{$arch}"; |
|
106 |
$g['update_manifest']="http://updates.pfSense.com/manifest"; |
|
107 |
|
|
102 | 108 |
$g['platform'] = trim(file_get_contents("/etc/platform")); |
103 | 109 |
if($g['platform'] == "nanobsd") { |
104 |
$g['update_url']="http://snapshots.pfsense.org/FreeBSD_RELENG_8_3/{$arch}/pfSense_RELENG_2_1/.updaters/"; |
|
105 |
$g['update_manifest']="http://updates.pfSense.com/nanobsd/manifest"; |
|
106 | 110 |
$g['firmware_update_text']="pfSense-*.img.gz"; |
107 | 111 |
$g['hidedownloadbackup'] = true; |
108 | 112 |
$g['hidebackupbeforeupgrade'] = true; |
109 | 113 |
|
110 | 114 |
} else { |
111 |
$g['update_url']="http://snapshots.pfsense.org/FreeBSD_RELENG_8_3/{$arch}/pfSense_RELENG_2_1/.updaters/"; |
|
112 |
$g['update_manifest']="http://updates.pfSense.com/manifest"; |
|
113 | 115 |
$g['firmware_update_text']="pfSense-*.tgz"; |
114 | 116 |
} |
115 | 117 |
} |
Also available in: Unified diff
Fix update URL so the -RELEASE version looks at the stable updates URL by default rather than the snapshots server.