Changeset e8cdd4d


Ignore:
Timestamp:
10/18/13 09:52:43 (12 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
8d3682c
Parents:
01ffd8dd
Message:

Add 'detect-country' option to pc-sysinstall, which will attempt to detect
the country-code of the system based upon IP geo-location

Location:
src-sh
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pc-sysinstall/doc/help-index

    r1620346 re8cdd4d  
    2121    disk-info <disk> 
    2222        Returns information about the disks size, cyls, heads, and sectors  
     23 
     24    detect-country 
     25        Returns the country-code based upon IP address of the system, or UNKNOWN 
    2326     
    2427    detect-laptop 
  • src-sh/pc-sysinstall/pc-sysinstall

    r1620346 re8cdd4d  
    88##################################################################### 
    99# Copyright 2010 iXsystems 
     10# Copyright 2013 iXsystems 
    1011# All rights reserved 
    1112# 
     
    137138  ;; 
    138139 
     140  # Check what country the system IP resolves to 
     141  detect-country) ${QUERYDIR}/detect-country.sh 
     142  ;; 
     143 
    139144  # The user is wanting to see what nics are available on the system 
    140145  detect-nics) ${QUERYDIR}/detect-nics.sh 
  • src-sh/port-files/pkg-plist

    r0843d04d re8cdd4d  
    8585share/pc-sysinstall/backend-query/xkeyboard-layouts.sh 
    8686share/pc-sysinstall/backend-query/enable-net.sh 
     87share/pc-sysinstall/backend-query/detect-country.sh 
    8788share/pc-sysinstall/backend-query/detect-laptop.sh 
    8889share/pc-sysinstall/backend-query/list-packages.sh 
Note: See TracChangeset for help on using the changeset viewer.