Blame SOURCES/setregdomain.1

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