diff options
author | jim-p <jim@pingle.org> | 2009-12-04 16:13:56 -0500 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2009-12-04 16:13:56 -0500 |
commit | fdcd8ac7e86f07b2078d4f9888fa32d427067f49 (patch) | |
tree | 3f98423305e5829f45ce575345dc3f648b79fd9f /etc/inc/globals.inc | |
parent | 07356178eb8f1755a6d974d37b93f3f4d86f4e92 (diff) | |
download | pfsense-fdcd8ac7e86f07b2078d4f9888fa32d427067f49.zip pfsense-fdcd8ac7e86f07b2078d4f9888fa32d427067f49.tar.gz |
Set firmware_update_text properly for the platform
Diffstat (limited to 'etc/inc/globals.inc')
-rw-r--r-- | etc/inc/globals.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc index 8f5902c..2eec01c 100644 --- a/etc/inc/globals.inc +++ b/etc/inc/globals.inc @@ -100,7 +100,6 @@ $g = array( "xmlrpcpath" => "/pfSense/xmlrpc.php", "embeddedbootupslice" => "/dev/ad0a", "services_dhcp_server_enable" => true, - "firmware_update_text" => "(pfSense-*.tgz)", "wireless_regex" => "/^(ndis|wi|ath|an|ral|ural|wai|iwi|awi|wlan|rum)/", "help_base_url" => "/help.php" ); @@ -130,9 +129,12 @@ if(file_exists("/etc/platform")) { if($g['platform'] == "nanobsd") { $g['update_url']="http://updates.pfSense.com/nanobsd/_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_manifest']="http://updates.pfSense.com/manifest"; + $g['firmware_update_text']="pfSense-*.tgz", } } |