archboot/usr/lib/initcpio/install/archboot_wireless

32 lines
957 B
Text
Raw Normal View History

#!/usr/bin/env bash
2007-10-22 07:56:38 +02:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
2007-10-22 07:56:38 +02:00
{
2012-05-27 21:54:46 +02:00
add_checked_modules '/drivers/net/wireless/|/net/wireless/|/net/ieee80211/|/net/mac80211/'
2018-06-22 11:35:00 +02:00
# add broadcom wl support
add_module 'wl.ko'
2013-05-22 11:49:52 +02:00
apps="iwconfig iwevent iwgetid iwlist iwpriv iwspy ifrename b43-fwcutter wpa_cli wpa_passphrase \
2021-09-24 21:24:04 +02:00
wpa_supplicant iw crda regdbdump rfkill hwsim iwctl iwmon"
2012-05-27 17:12:28 +02:00
for i in $apps; do
add_binary "$i"
done
add_dir "/etc/wpa_supplicant"
2009-01-01 12:50:57 +01:00
# crda support
2012-08-24 08:24:01 +02:00
add_file "/usr/bin/set-wireless-regdom"
2012-08-16 08:02:05 +02:00
add_file "/etc/conf.d/wireless-regdom"
2009-01-01 12:50:57 +01:00
add_file "/usr/lib/crda/regulatory.bin"
2009-05-08 08:05:45 +02:00
# fixing licenses
add_file "/usr/share/licenses/expat/COPYING"
add_file "/usr/share/licenses/crda/LICENSE"
add_file "/usr/share/licenses/wireless-regdb/LICENSE"
2021-08-08 18:49:23 +02:00
add_file "/usr/share/licenses/broadcom-wl/LICENSE"
2007-10-22 07:56:38 +02:00
}
help ()
{
cat<<HELPEOF
2021-10-04 11:13:50 +02:00
This hook includes wireless on an archboot image.
2007-10-22 07:56:38 +02:00
HELPEOF
}