Blame SOURCES/setregdomain.1

fc58cd
.\" Copyright 2009 Red Hat, Inc.
fc58cd
.TH segregdomain 1 2014-11-19 "CRDA" "User Commands"
fc58cd
.SH NAME
fc58cd
setregdomain \- set regulatory domain based on country code
fc58cd
.SH SYNOPSIS               
fc58cd
.B setregdomain                  
fc58cd
.SH DESCRIPTION
fc58cd
setregdomain sets the regulatory domain for your system; it takes no
fc58cd
arguments and is normally called via system script (eg, udev) rather
fc58cd
than manually by an administrator.
fc58cd
fc58cd
The regulatory domain is represented by an ISO / IEC 3166-1 alpha2
fc58cd
country code.  By default, setregdomain attempts to determine
fc58cd
the appropriate country code by examining the target of the
fc58cd
.IR /etc/localtime
fc58cd
symbolic link.  That information is used to look-up the matching
fc58cd
country code in the
fc58cd
.IR /usr/share/zoneinfo/zone.tab
fc58cd
file.
fc58cd
fc58cd
The country code look-up may fail.  This could be due to faulty
fc58cd
or incomplete information in the
fc58cd
.IR /usr/share/zoneinfo/zone.tab
fc58cd
file, or the use of an actual file rather than a symlink for
fc58cd
.IR /etc/localtime
fc58cd
, among other possibilities.  In those cases the system
fc58cd
administrator should define a COUNTRY environment variable in the
fc58cd
.IR /etc/sysconfig/regdomain
fc58cd
file.  This value will be used as the country code and the country
fc58cd
code look-up will be skipped.
fc58cd
.SH "FILES"
fc58cd
.BR /etc/sysconfig/regdomain
fc58cd
.BR /etc/localtime
fc58cd
.BR /usr/share/zoneinfo/zone.tab
fc58cd
.SH "SEE ALSO"
fc58cd
.BR iw (1)