diff --git a/usr/bin/archboot-hwsim.sh b/usr/bin/archboot-hwsim.sh index 303d4ebaf..63fcf4172 100755 --- a/usr/bin/archboot-hwsim.sh +++ b/usr/bin/archboot-hwsim.sh @@ -19,6 +19,8 @@ _usage() exit 0 } [[ -z "${1}" ]] && _usage +pacman -Sydd --noscriptlet linux +depmod -a if ! grep -qw mac80211_hwsim /proc/modules; then modprobe mac80211_hwsim fi