Skip to content

Commit

Permalink
buildimg: fix wrong indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
frank-w committed Jun 8, 2024
1 parent 0197790 commit 21f7405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildimg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ if [[ ${board} != "bpi-r2pro" ]];then
curl https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git/plain/regulatory.db.p7s -o regulatory.db.p7s-git

sudo cp -r regulatory.* ${targetdir}/lib/firmware/
sudo chroot $targetdir bash -c "update-alternatives --install /lib/firmware/regulatory.db regulatory.db /lib/firmware/regulatory.db-git 200 --slave /lib/firmware/regulatory.db.p7s regulatory.db.p7s /lib/firmware/regulatory.db.p7s-git"
sudo chroot $targetdir bash -c "update-alternatives --set regulatory.db /lib/firmware/regulatory.db-git"
sudo chroot $targetdir bash -c "update-alternatives --install /lib/firmware/regulatory.db regulatory.db /lib/firmware/regulatory.db-git 200 --slave /lib/firmware/regulatory.db.p7s regulatory.db.p7s /lib/firmware/regulatory.db.p7s-git"
sudo chroot $targetdir bash -c "update-alternatives --set regulatory.db /lib/firmware/regulatory.db-git"

if [[ ${board} == "bpi-r64" ]];then
echo "mt7615e" | sudo tee -a ${targetdir}/etc/modules
Expand Down

0 comments on commit 21f7405

Please sign in to comment.