@@ -103,7 +103,7 if [ "$ENABLE_WIRELESS" = true ] ; then | |||
|
103 | 103 | temp_dir=$(as_nobody mktemp -d) |
|
104 | 104 | |
|
105 | 105 | # Fetch firmware binary blob for RPI3B+ |
|
106 |
if [ "$RPI_MODEL" = 3 |
|
|
106 | if [ "$RPI_MODEL" = 3P ] ; then | |
|
107 | 107 | as_nobody wget -q -O "${temp_dir}/brcmfmac43455-sdio.bin" "${WLAN_FIRMWARE_URL}/brcmfmac43455-sdio.bin" |
|
108 | 108 | as_nobody wget -q -O "${temp_dir}/brcmfmac43455-sdio.txt" "${WLAN_FIRMWARE_URL}/brcmfmac43455-sdio.txt" |
|
109 | 109 | as_nobody wget -q -O "${temp_dir}/brcmfmac43455-sdio.clm_blob" "${WLAN_FIRMWARE_URL}/brcmfmac43455-sdio.clm_blob" |
@@ -114,7 +114,7 if [ "$ENABLE_WIRELESS" = true ] ; then | |||
|
114 | 114 | fi |
|
115 | 115 | |
|
116 | 116 | # Move downloaded firmware binary blob |
|
117 |
if [ "$RPI_MODEL" = 3 |
|
|
117 | if [ "$RPI_MODEL" = 3P ] ; then | |
|
118 | 118 | mv "${temp_dir}/brcmfmac43455-sdio."* "${WLAN_FIRMWARE_DIR}/" |
|
119 | 119 | else |
|
120 | 120 | mv "${temp_dir}/brcmfmac43430-sdio."* "${WLAN_FIRMWARE_DIR}/" |
@@ -124,7 +124,7 if [ "$ENABLE_WIRELESS" = true ] ; then | |||
|
124 | 124 | rm -fr "${temp_dir}" |
|
125 | 125 | |
|
126 | 126 | # Set permissions of the firmware binary blob |
|
127 |
if [ "$RPI_MODEL" = 3 |
|
|
127 | if [ "$RPI_MODEL" = 3P ] ; then | |
|
128 | 128 | chown root:root "${WLAN_FIRMWARE_DIR}/brcmfmac43455-sdio."* |
|
129 | 129 | chmod 600 "${WLAN_FIRMWARE_DIR}/brcmfmac43455-sdio."* |
|
130 | 130 | else |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant