Shellcheck

This commit is contained in:
Kroese 2023-04-21 07:14:43 +02:00 committed by GitHub
parent d90675fcdf
commit 6cd9b8bcc5

View File

@ -142,7 +142,7 @@ echo "Install: Creating partition table..."
PART="$TMP/partition.fdisk" PART="$TMP/partition.fdisk"
"{ echo "label: dos" { echo "label: dos"
echo "label-id: 0x6f9ee2e9" echo "label-id: 0x6f9ee2e9"
echo "device: ${SYSTEM}" echo "device: ${SYSTEM}"
echo "unit: sectors" echo "unit: sectors"
@ -150,7 +150,7 @@ PART="$TMP/partition.fdisk"
echo "" echo ""
echo "${SYSTEM}1 : start= 2048, size= 4980480, type=83" echo "${SYSTEM}1 : start= 2048, size= 4980480, type=83"
echo "${SYSTEM}2 : start= 4982528, size= 4194304, type=82" echo "${SYSTEM}2 : start= 4982528, size= 4194304, type=82"
}" > $PART } > "$PART"
sfdisk -q "$SYSTEM" < "$PART" sfdisk -q "$SYSTEM" < "$PART"