fix check

This commit is contained in:
Tobias Powalowski 2022-12-13 17:39:00 +01:00
parent 743f2d442b
commit cb3ad86f20
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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"