Skip to content

Commit

Permalink
Run cmdline fixes for splash screen only on raspberrypi boards
Browse files Browse the repository at this point in the history
  • Loading branch information
guysoft committed Nov 3, 2024
1 parent b3bdcc1 commit d58426a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/modules/fullpageos/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ apt-get update
if [ "$FULLPAGEOS_CUSTOM_SPLASHSCREEN" == "yes" ]
then
apt-get install -y fbi
sed -i 's/$/ logo.nologo consoleblank=0 loglevel=0 quiet/' /"${BASE_BOOT_MOUNT_PATH}"/cmdline.txt
if [ "${BASE_BOARD}" == raspberrypi* ]; then
sed -i 's/$/ logo.nologo consoleblank=0 loglevel=0 quiet/' /"${BASE_BOOT_MOUNT_PATH}"/cmdline.txt
fi
echo "disable_splash=1" >> /"${BASE_BOOT_MOUNT_PATH}"/config.txt
systemctl enable splashscreen.service
systemctl disable getty@tty1
Expand Down

0 comments on commit d58426a

Please sign in to comment.