Skip to content

Commit 0b97815

Browse files
committed
installer: add version 4 model B
1 parent dd2730d commit 0b97815

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The installer with the default settings configures eth0 with DHCP to get interne
3030

3131
### Features
3232

33-
- completely unattended, you only need a working internet connection through the ethernet port or use the onboard wireless LAN (supported on model 3B, 3B+ and 0W)
33+
- completely unattended, you only need a working internet connection through the ethernet port or use the onboard wireless LAN (supported on model 3B, 3B+, 4B and 0W)
3434
- DHCP and static IP configuration (DHCP is the default)
3535
- always installs the latest version of Raspbian
3636
- configurable default settings
@@ -45,7 +45,7 @@ The installer with the default settings configures eth0 with DHCP to get interne
4545

4646
## Requirements
4747

48-
- a Raspberry Pi (from model 1B up to 3B, 3A+, 3B+ or Zero including Zero W)
48+
- a Raspberry Pi (from model 1B up to 4B, 3A+, 3B+ or Zero including Zero W)
4949
- SD card with at least 1GB, or at least 128MB for USB root install (without customization)
5050
- ethernet or wireless LAN with a working internet connection
5151

scripts/opt/raspberrypi-ua-netinst/install.sh

+3
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,9 @@ case "${rpi_hardware}" in
661661
"a32082") rpi_hardware_version="3 Model B" ;;
662662
"a020d3") rpi_hardware_version="3 Model B+" ;;
663663
"9020e0") rpi_hardware_version="3 Model A+" ;;
664+
"a03111") rpi_hardware_version="4 Model B" ;;
665+
"b03111") rpi_hardware_version="4 Model B" ;;
666+
"c03111") rpi_hardware_version="4 Model B" ;;
664667
*) rpi_hardware_version="unknown (${rpi_hardware})" ;;
665668
esac
666669

0 commit comments

Comments
 (0)