diff options
author | Scott Ullrich <sullrich@pfSense.org> | 2009-12-31 21:11:20 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfSense.org> | 2009-12-31 21:11:43 -0500 |
commit | 8395832cec9cf750374dffd612a42944e20db2b8 (patch) | |
tree | 6d28254229781ae4921ce299a8e77f8c4aa750e0 /etc | |
parent | 1ac7a864932486942e21a79d42e3cf2280ace036 (diff) | |
download | pfsense-8395832cec9cf750374dffd612a42944e20db2b8.zip pfsense-8395832cec9cf750374dffd612a42944e20db2b8.tar.gz |
Update URL to point to snapshot server until RC
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/globals.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc index c3fa238..aae5972 100644 --- a/etc/inc/globals.inc +++ b/etc/inc/globals.inc @@ -127,14 +127,15 @@ $iptos = array("lowdelay", "throughput", "reliability"); $tcpflags = array("syn", "ack", "fin", "rst", "psh", "urg"); if(file_exists("/etc/platform")) { + $arch = trim(`uname -m`); $g['platform'] = trim(file_get_contents("/etc/platform")); if($g['platform'] == "nanobsd") { - $g['update_url']="http://updates.pfSense.com/nanobsd/_updaters"; + $g['update_url']="http://snapshots.pfsense.org/FreeBSD_RELENG_8_0/{$arch}/pfSense_HEAD/.updaters/"; $g['update_manifest']="http://updates.pfSense.com/nanobsd/manifest"; $g['firmware_update_text']="pfSense-*.img.gz"; } else { - $g['update_url']="http://updates.pfSense.com/_updaters"; + $g['update_url']="http://snapshots.pfsense.org/FreeBSD_RELENG_8_0/{$arch}/pfSense_HEAD/.updaters/"; $g['update_manifest']="http://updates.pfSense.com/manifest"; $g['firmware_update_text']="pfSense-*.tgz"; } |