diff options
author | Scott Ullrich <sullrich@pfsense.homeunix.net> | 2009-07-11 21:00:56 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.homeunix.net> | 2009-07-11 21:00:56 -0400 |
commit | aadf2c9fd1230bb5523f6335d00d3be9cc71cbe6 (patch) | |
tree | 723c18f4bd6aee6176d995f95aeee59c27926528 | |
parent | b24a73900b69b3aa9fd1cec8aca793cd7d7fa59f (diff) | |
download | pfsense-aadf2c9fd1230bb5523f6335d00d3be9cc71cbe6.zip pfsense-aadf2c9fd1230bb5523f6335d00d3be9cc71cbe6.tar.gz |
Allow auto firmware upgrade to work on NanoBSD
-rw-r--r-- | etc/inc/globals.inc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc index e8e8f46..6a032b6 100644 --- a/etc/inc/globals.inc +++ b/etc/inc/globals.inc @@ -75,7 +75,6 @@ $g = array( "xmlrpcpath" => "/pfSense/xmlrpc.php", "embeddedbootupslice" => "/dev/ad0a", "services_dhcp_server_enable" => true, - "update_manifest" => "http://updates.pfSense.com/manifest", "firmware_update_text" => "(pfSense-*.tgz)", "wireless_regex" => "/^(ndis|wi|ath|an|ral|ural|wai|iwi|awi|wlan|rum)/", "vlan_native_supp" => array("bce", "bge", "bfe", "cxgb", "dc", "em", "fxp", "gem", "hme", "ixgb", "msk", "nge", "re", "rl", "sis", "ste", "stge", "ti", "tl", "tx", "txp", "vge", "vr", "xl", "lagg"), @@ -90,10 +89,13 @@ $tcpflags = array("syn", "ack", "fin", "rst", "psh", "urg"); if(file_exists("/etc/platform")) { $g['$platform'] = trim(file_get_contents("/etc/platform")); - if($g['platform'] == "nanobsd") + if($g['platform'] == "nanobsd") { $g['update_url']="http://updates.pfSense.com/nanobsd/_updaters"; - else + $g['update_manifest']="http://updates.pfSense.com/nanobsd/manifest"; + } else { $g['update_url']="http://updates.pfSense.com/_updaters"; + $g['update_manifest']="http://updates.pfSense.com/manifest"; + } } ?>
\ No newline at end of file |