Skip to content

Commit

Permalink
Fix first boot screen
Browse files Browse the repository at this point in the history
  • Loading branch information
NEMS Linux committed Mar 15, 2024
1 parent b191895 commit cefcd4a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/160-indiedroid-nova
@@ -1,10 +1,11 @@
#!/bin/bash
echo $0 > /var/www/html/userfiles/nems-build.cur

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

if (( $platform >= 200 )) && (( $platform <= 202 )); then

# Doing this inside the platform detection to avoid non-Indiedroid boards from getting this set on filesystem resize at first boot
echo $0 > /var/www/html/userfiles/nems-build.cur

pat='^/dev/mmcblk1p2.* UUID="([^"]+)".* PARTUUID="([^"]+)"'
while IFS= read -r line; do
if [[ $line =~ $pat ]]; then
Expand Down

0 comments on commit cefcd4a

Please sign in to comment.