Blame SOURCES/setregdomain.1

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