Changeset a2cde2f


Ignore:
Timestamp:
Sep 5, 2013 10:15:38 AM (8 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1
Children:
3c8d32d
Parents:
f314940
Message:

Update crashuploader to latest from FreeNAS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pc-extractoverlay/ports-overlay/usr/local/bin/crashuploader

    r9c1ae91 ra2cde2f  
    99        sys.exit(1) 
    1010 
    11 url = 'http://ext-data.ixsystems.com/uploader/list/' 
     11url = 'https://ext-data.ixsystems.com/uploader/list/' 
    1212files = {'docfile': open(sys.argv[1], 'rb')} 
    1313 
    14 data = None 
     14data = {} 
    1515if os.path.isfile("/etc/hostid"): 
    1616    f = open("/etc/hostid") 
     
    1818    f.close()  
    1919    data = { 'hostid': hostid } 
     20 
     21if os.path.isfile("/etc/version"): 
     22    f = open("/etc/version") 
     23    version = f.read().strip() 
     24    f.close() 
     25    data['version'] = version 
    2026 
    2127data['os'] = 'pcbsd' 
Note: See TracChangeset for help on using the changeset viewer.