From fb617ff53952f9e6c067cb83608b168ed986a272 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 15 Feb 2010 20:14:11 +0100 Subject: [PATCH] Set wlan regulatory domain to "EU". --- config/etc/modprobe.d/cfg80211 | 2 ++ config/rootfiles/common/stage2 | 1 + lfs/stage2 | 4 +--- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 config/etc/modprobe.d/cfg80211 diff --git a/config/etc/modprobe.d/cfg80211 b/config/etc/modprobe.d/cfg80211 new file mode 100644 index 0000000000..3339ea8fdd --- /dev/null +++ b/config/etc/modprobe.d/cfg80211 @@ -0,0 +1,2 @@ +options cfg80211 ieee80211_regdom=EU +blacklist ieee80211 diff --git a/config/rootfiles/common/stage2 b/config/rootfiles/common/stage2 index 7702cf356c..6a7a099724 100644 --- a/config/rootfiles/common/stage2 +++ b/config/rootfiles/common/stage2 @@ -19,6 +19,7 @@ etc/ld.so.conf etc/logrotate.conf etc/mime.types etc/modprobe.d +etc/modprobe.d/cfg80211 etc/modules.conf etc/mtab etc/nsswitch.conf diff --git a/lfs/stage2 b/lfs/stage2 index 59cb947b44..b2be2d6ca7 100644 --- a/lfs/stage2 +++ b/lfs/stage2 @@ -69,9 +69,7 @@ $(TARGET) : -ln -sv bash /bin/sh # Config files - for i in $(DIR_SRC)/config/etc/*; do \ - [ -f $$i ] && cp $$i /etc; \ - done + cp -rvf $(DIR_SRC)/config/etc/* /etc; touch /etc/mtab echo "$(NAME) v$(VERSION) - $(SLOGAN)" > /etc/issue echo "===============================" >> /etc/issue -- 2.39.2