mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix check
This commit is contained in:
parent
743f2d442b
commit
cb3ad86f20
2 changed files with 3 additions and 2 deletions
|
@ -14,10 +14,9 @@ usage()
|
|||
echo "- wlan0 will be the AP"
|
||||
echo "- wlan1 will be for STATION mode"
|
||||
echo -e "usage: \033[1m${APPNAME} <SSID>\033[0m"
|
||||
exit "1"
|
||||
}
|
||||
|
||||
if [ $# -gt 0 ]; then
|
||||
if [[ -z "${1}" ]]; then
|
||||
usage
|
||||
fi
|
||||
|
||||
|
|
|
@ -16,6 +16,8 @@ build ()
|
|||
map add_binary iw set-wireless-regdom rfkill hwsim iwctl iwmon set-wireless-regdom
|
||||
# add iwd and ead daemon
|
||||
map add_binary "/usr/lib/iwd/iwd" "/usr/lib/iwd/ead"
|
||||
# add hwsim helper script
|
||||
add_binary archboot-hwsim.sh
|
||||
# crda support
|
||||
map add_file "/etc/conf.d/wireless-regdom" "/usr/lib/crda/regulatory.bin" \
|
||||
"/usr/lib/crda/pubkeys/sforshee.key.pub.pem"
|
||||
|
|
Loading…
Reference in a new issue