forked from Bitmessage/sysdeploy
fix: sleep differently
This commit is contained in:
parent
e606519a4c
commit
e778036d97
|
@ -46,12 +46,15 @@ function install_syslinux()
|
||||||
|
|
||||||
apt -yq install syslinux syslinux-common syslinux-efi
|
apt -yq install syslinux syslinux-common syslinux-efi
|
||||||
|
|
||||||
dd bs=440 count=1 conv=notrunc \
|
|
||||||
if=/usr/lib/syslinux/mbr/gptmbr.bin of="$drive"
|
|
||||||
|
|
||||||
sleep 5
|
sleep 5
|
||||||
dev_from_partnum "$drive" 1
|
dev_from_partnum "$drive" 1
|
||||||
syslinux "$partition"
|
syslinux "$partition"
|
||||||
|
sync
|
||||||
|
sleep 5
|
||||||
|
dd bs=440 count=1 conv=notrunc \
|
||||||
|
if=/usr/lib/syslinux/mbr/gptmbr.bin of="$drive"
|
||||||
|
sync
|
||||||
|
sleep 5
|
||||||
|
|
||||||
mount_efi "$drive"
|
mount_efi "$drive"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user