Skip to content
Snippets Groups Projects
Commit 2e5a742b authored by Bob Mottram's avatar Bob Mottram
Browse files

Add more wifi firmware

This stuff is bad, but only gets installed on the mesh client if the --insecure option is set
parent 6fbafc39
No related branches found
No related tags found
No related merge requests found
......@@ -510,12 +510,18 @@ initialise_mesh() {
# enable non-free repo
if ! grep -q "non-free" $rootdir/etc/apt/sources.list; then
chroot "$rootdir" sed -i "s| main| main non-free|g" /etc/apt/sources.list
chroot "$rootdir" apt-get update
fi
# enable contrib repo
if ! grep -q "contrib" $rootdir/etc/apt/sources.list; then
chroot "$rootdir" sed -i "s| main| main contrib|g" /etc/apt/sources.list
fi
chroot "$rootdir" apt-get update
# install proprietary wifi drivers
# see https://wiki.debian.org/iwlwifi
chroot "$rootdir" apt-get -y install firmware-iwlwifi
chroot "$rootdir" apt-get -y install firmware-iwlwifi firmware-b43-installer firmware-brcm80211
fi
INSTALLING_MESH=1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment