@@ -273,6 +273,15 Create an initramfs that that will be loaded during the Linux startup process. ` | |||||
273 | ##### `ENABLE_IFNAMES`=true |
|
273 | ##### `ENABLE_IFNAMES`=true | |
274 | Enable automatic assignment of predictable, stable network interface names for all local Ethernet, WLAN interfaces. This might create complex and long interface names. |
|
274 | Enable automatic assignment of predictable, stable network interface names for all local Ethernet, WLAN interfaces. This might create complex and long interface names. | |
275 |
|
275 | |||
|
276 | ##### `ENABLE_SPLASH`=true | |||
|
277 | Enable default Raspberry Pi boot up rainbow splash screen. | |||
|
278 | ||||
|
279 | ##### `ENABLE_LOGO`=true | |||
|
280 | Enable default Raspberry Pi console logo (image of four raspberries in the top left corner). | |||
|
281 | ||||
|
282 | ##### `ENABLE_SILENT_BOOT`=false | |||
|
283 | Set the verbosity of console messages shown during boot up to a strict minimum. | |||
|
284 | ||||
276 | ##### `DISABLE_UNDERVOLT_WARNINGS`= |
|
285 | ##### `DISABLE_UNDERVOLT_WARNINGS`= | |
277 | Disable RPi2/3 under-voltage warnings and overlays. Setting the parameter to `1` will disable the warning overlay. Setting it to `2` will additionally allow RPi2/3 turbo mode when low-voltage is present. |
|
286 | Disable RPi2/3 under-voltage warnings and overlays. Setting the parameter to `1` will disable the warning overlay. Setting it to `2` will additionally allow RPi2/3 turbo mode when low-voltage is present. | |
278 |
|
287 |
@@ -74,9 +74,24 else | |||||
74 | CMDLINE="${CMDLINE} net.ifnames=1" |
|
74 | CMDLINE="${CMDLINE} net.ifnames=1" | |
75 | fi |
|
75 | fi | |
76 |
|
76 | |||
|
77 | # Disable Raspberry Pi console logo | |||
|
78 | if [ "$ENABLE_LOGO" = false ] ; then | |||
|
79 | CMDLINE="${CMDLINE} logo.nologo" | |||
|
80 | fi | |||
|
81 | ||||
|
82 | # Strictly limit verbosity of boot up console messages | |||
|
83 | if [ "$ENABLE_SILENT_BOOT" = true ] ; then | |||
|
84 | CMDLINE="${CMDLINE} quiet loglevel=0 rd.systemd.show_status=auto rd.udev.log_priority=0" | |||
|
85 | fi | |||
|
86 | ||||
77 | # Install firmware config |
|
87 | # Install firmware config | |
78 | install_readonly files/boot/config.txt "${BOOT_DIR}/config.txt" |
|
88 | install_readonly files/boot/config.txt "${BOOT_DIR}/config.txt" | |
79 |
|
89 | |||
|
90 | # Disable Raspberry Pi console logo | |||
|
91 | if [ "$ENABLE_SLASH" = false ] ; then | |||
|
92 | echo "disable_splash=1" >> "${BOOT_DIR}/config.txt" | |||
|
93 | fi | |||
|
94 | ||||
80 | # Locks CPU frequency at maximum |
|
95 | # Locks CPU frequency at maximum | |
81 | if [ "$ENABLE_TURBO" = true ] ; then |
|
96 | if [ "$ENABLE_TURBO" = true ] ; then | |
82 | echo "force_turbo=1" >> "${BOOT_DIR}/config.txt" |
|
97 | echo "force_turbo=1" >> "${BOOT_DIR}/config.txt" |
@@ -170,6 +170,9 ENABLE_IPTABLES=${ENABLE_IPTABLES:=false} | |||||
170 | ENABLE_SPLITFS=${ENABLE_SPLITFS:=false} |
|
170 | ENABLE_SPLITFS=${ENABLE_SPLITFS:=false} | |
171 | ENABLE_INITRAMFS=${ENABLE_INITRAMFS:=false} |
|
171 | ENABLE_INITRAMFS=${ENABLE_INITRAMFS:=false} | |
172 | ENABLE_IFNAMES=${ENABLE_IFNAMES:=true} |
|
172 | ENABLE_IFNAMES=${ENABLE_IFNAMES:=true} | |
|
173 | ENABLE_SPLASH=${ENABLE_SPLASH:=true} | |||
|
174 | ENABLE_LOGO=${ENABLE_LOGO:=true} | |||
|
175 | ENABLE_SILENT_BOOT=${ENABLE_SILENT_BOOT=false} | |||
173 | DISABLE_UNDERVOLT_WARNINGS=${DISABLE_UNDERVOLT_WARNINGS:=} |
|
176 | DISABLE_UNDERVOLT_WARNINGS=${DISABLE_UNDERVOLT_WARNINGS:=} | |
174 |
|
177 | |||
175 | # Kernel compilation settings |
|
178 | # Kernel compilation settings |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant