refactor(script): Log steps
This commit is contained in:
parent
ad85e5b2d2
commit
2374bbb97e
@ -26,7 +26,7 @@ else
|
||||
boot_disk='/dev/'"${boot_disk}"
|
||||
fi
|
||||
|
||||
find "${boot_dir}" -type f -iname '*.c32' -delete
|
||||
rsync -a '/usr/lib/syslinux/bios/'*'.c32' "${boot_dir}"'/'
|
||||
extlinux --install "${boot_dir}"
|
||||
dd bs=440 count=1 conv=notrunc if='/usr/lib/syslinux/bios/mbr.bin' of="${boot_disk}"
|
||||
find "${boot_dir}" -type f -iname '*.c32' -delete && echo 'Delete old COMBOOT files from boot drive'
|
||||
rsync -a '/usr/lib/syslinux/bios/'*'.c32' "${boot_dir}"'/' && echo 'Put new COMBOOT files onto boot drive'
|
||||
extlinux --install "${boot_dir}" &>/dev/null && echo 'Install new extlinux boot loader'
|
||||
dd bs=440 count=1 conv=notrunc if='/usr/lib/syslinux/bios/mbr.bin' of="${boot_disk}" 2>/dev/null && echo 'Overwrite MBR with newest version'
|
||||
|
Loading…
x
Reference in New Issue
Block a user