We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df1be3f commit 1e3ab29Copy full SHA for 1e3ab29
1 file changed
buildimg.sh
@@ -199,7 +199,13 @@ if [[ ${board} != "bpi-r2pro" ]];then
199
fi
200
done
201
ls -lh mnt/BPI-ROOT/usr/local/{,s}bin/
202
- sudo chroot $targetdir bash -c "ln -fs hostapd_wlan0.conf /etc/hostapd/hostapd.conf"
+ if [[ "$board" == "bpi-r4" ]]; then
203
+ sudo rm $targetdir/etc/hostapd/hostapd_wlan*.conf
204
+ sudo chroot $targetdir bash -c "ln -fs hostapd_2g4.conf /etc/hostapd/hostapd.conf"
205
+ else
206
+ sudo chroot $targetdir bash -c "ln -fs hostapd_wlan0.conf /etc/hostapd/hostapd.conf"
207
+ fi
208
+ ls -lh mnt/BPI-ROOT/etc/hostapd/
209
210
#copy firmware
211
if [[ ! -d firmware ]];
0 commit comments