Skip to content
Permalink
Browse files

Remove RPi logo

  • Loading branch information...
NEMS Linux
NEMS Linux committed Sep 8, 2019
1 parent b827926 commit 096c03060ebbb59769396fffceaef438b6dc5778
Showing with 14 additions and 0 deletions.
  1. +14 −0 build/160-raspberry_pi
@@ -0,0 +1,14 @@
#!/bin/bash
echo $0 > /var/www/html/userfiles/nems-build.cur

platform=$(/usr/local/bin/nems-info platform)

if (( $platform >= 0 )) && (( $platform <= 9 )); then

# Hide the Raspberry Pi logo from the boot screen
if ! grep -q "logo.nologo" /boot/cmdline.txt; then
sed -i '1!b;s/$/ logo.nologo/g' /boot/cmdline.txt
fi

fi

0 comments on commit 096c030

Please sign in to comment.
You can’t perform that action at this time.