Condensed 3 seperate [rsync] commands into single for loop
This commit is contained in:
@@ -22,26 +22,14 @@ wget \
|
|||||||
/boot/efi/EFI/ZBM/VMLINUZ.EFI \
|
/boot/efi/EFI/ZBM/VMLINUZ.EFI \
|
||||||
https://get.zfsbootmenu.org/efi
|
https://get.zfsbootmenu.org/efi
|
||||||
|
|
||||||
|
for file in {ZBM/VMLINUZ-BACKUP,BOOT/{BOOTX64,shellx64}}; do
|
||||||
rsync \
|
rsync \
|
||||||
-pogAXtlHrDx \
|
-pogAXtlHrDx \
|
||||||
--stats \
|
--stats \
|
||||||
--info=progress2 \
|
--info=progress2 \
|
||||||
/boot/efi/EFI/ZBM/VMLINUZ.EFI \
|
/boot/efi/EFI/ZBM/VMLINUZ.EFI \
|
||||||
/boot/efi/EFI/ZBM/VMLINUZ-BACKUP.EFI
|
/boot/efi/EFI/${file}.EFI
|
||||||
|
done
|
||||||
rsync \
|
|
||||||
-pogAXtlHrDx \
|
|
||||||
--stats \
|
|
||||||
--info=progress2 \
|
|
||||||
/boot/efi/EFI/ZBM/VMLINUZ.EFI \
|
|
||||||
/boot/efi/EFI/BOOT/BOOTX64.EFI
|
|
||||||
|
|
||||||
rsync \
|
|
||||||
-pogAXtlHrDx \
|
|
||||||
--stats \
|
|
||||||
--info=progress2 \
|
|
||||||
/boot/efi/EFI/ZBM/VMLINUZ.EFI \
|
|
||||||
/boot/efi/EFI/BOOT/shellx64.efi
|
|
||||||
|
|
||||||
efibootmgr \
|
efibootmgr \
|
||||||
-c \
|
-c \
|
||||||
|
|||||||
Reference in New Issue
Block a user