Skip to content

Commit

Permalink
fix typo in sed statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Riek committed Oct 13, 2023
1 parent 58518e1 commit c503fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overlay/usr/lib/scripts/resize-filesystem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ umount "${partition_boot}" || true
boot_uuid=$(uuidgen | head -c8)
mlabel -N "${boot_uuid}" -i "${partition_boot}" ::
boot_uuid="${boot_uuid:0:4}-${boot_uuid:4:4}"
sed "/\/boot\/firmware/c\UUID=${boot_uuid^^} /boot/firmware vfat defaults 0 2" /etc/fstab
sed -i "/\/boot\/firmware/c\UUID=${boot_uuid^^} /boot/firmware vfat defaults 0 2" /etc/fstab
sync --file-system
sync

Expand Down

0 comments on commit c503fad

Please sign in to comment.