style: reorder variables in get_netboot()

This commit is contained in:
Martin Wimpress 2024-04-28 03:29:28 +01:00 committed by Martin Wimpress
parent 95365eb5b6
commit 752afa56f4
1 changed files with 1 additions and 1 deletions

View File

@ -2164,8 +2164,8 @@ function get_mxlinux() {
} }
function get_netboot() { function get_netboot() {
local ISO="netboot.xyz.iso"
local HASH="" local HASH=""
local ISO="netboot.xyz.iso"
local URL="https://boot.netboot.xyz/ipxe" local URL="https://boot.netboot.xyz/ipxe"
HASH=$(web_pipe "${URL}/netboot.xyz-sha256-checksums.txt" | grep "${ISO}" | cut_1) HASH=$(web_pipe "${URL}/netboot.xyz-sha256-checksums.txt" | grep "${ISO}" | cut_1)
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"