summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorroot <mageia@martin-whitaker.me.uk>2017-07-10 21:24:06 +0100
committerroot <mageia@martin-whitaker.me.uk>2017-07-10 21:24:06 +0100
commita035045c7a2472ac12044547563d6f0bcf09ffc4 (patch)
treeb835ecfa5b6543c772e01d0cc70b9a82a922b334 /config
parente6477d39ee107c5a4f9a8bb4574e9b6ca598cc2d (diff)
downloaddraklive-config-a035045c7a2472ac12044547563d6f0bcf09ffc4.tar
draklive-config-a035045c7a2472ac12044547563d6f0bcf09ffc4.tar.gz
draklive-config-a035045c7a2472ac12044547563d6f0bcf09ffc4.tar.bz2
draklive-config-a035045c7a2472ac12044547563d6f0bcf09ffc4.tar.xz
draklive-config-a035045c7a2472ac12044547563d6f0bcf09ffc4.zip
Set the initial wireless regulatory domain to 00 (world).
This allows all possible wireless channels to be used. Ideally, the correct domain would be set automatically, but that isn't happening at present.
Diffstat (limited to 'config')
-rw-r--r--config/live.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/live.cfg b/config/live.cfg
index 6279fe8..30cce52 100644
--- a/config/live.cfg
+++ b/config/live.cfg
@@ -233,6 +233,10 @@ my $_l = {
# now update the cache for the new timestamps
"fc-cache -rf",
+ # set the initial wireless regulatory domain to "world", enabling
+ # all possible wireless channels to be used.
+ "sed -i -r 's/CRDA_DOMAIN=.*/CRDA_DOMAIN=00/' /etc/sysconfig/network",
+
# try to avoid plymouth falling back to text mode (mga#19984)
"sed -i -r 's/DeviceTimeout=[0-9]+/DeviceTimeout=10/' /usr/share/plymouth/plymouthd.defaults",
),