Set wlan regulatory domain to "EU".
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 15 Feb 2010 19:14:11 +0000 (20:14 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 15 Feb 2010 19:14:11 +0000 (20:14 +0100)
config/etc/modprobe.d/cfg80211 [new file with mode: 0644]
config/rootfiles/common/stage2
lfs/stage2

diff --git a/config/etc/modprobe.d/cfg80211 b/config/etc/modprobe.d/cfg80211
new file mode 100644 (file)
index 0000000..3339ea8
--- /dev/null
@@ -0,0 +1,2 @@
+options cfg80211 ieee80211_regdom=EU
+blacklist ieee80211
index 7702cf3..6a7a099 100644 (file)
@@ -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
index 59cb947..b2be2d6 100644 (file)
@@ -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