mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
debug
This commit is contained in:
parent
8fdfa6c777
commit
c9c02b0c42
@ -929,6 +929,8 @@ if [ "$1" = "kill-boot" ]; then
|
||||
bootPartition=""
|
||||
partitionNumber=""
|
||||
for partNumber in $(parted -s "/dev/${device}" print | grep "^ *[0-9]" | awk '{print $1}'); do
|
||||
echo "# checking /dev/${device}${partNumber}"
|
||||
blkid "/dev/${device}${partNumber}"
|
||||
if blkid "/dev/${device}${partNumber}" | grep -q "TYPE=\"vfat\"" && \
|
||||
parted "/dev/${device}" print | grep "^ *${partNumber}" | grep -q "boot\|esp"; then
|
||||
bootPartition="${device}${partNumber}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user