refactor: update netboot to use web_pipe()
This commit is contained in:
parent
1823596fac
commit
074796db4c
2
quickget
2
quickget
|
@ -2506,7 +2506,7 @@ function get_netboot() {
|
||||||
local ISO="netboot.xyz.iso"
|
local ISO="netboot.xyz.iso"
|
||||||
local HASH=""
|
local HASH=""
|
||||||
local URL="https://boot.netboot.xyz/ipxe"
|
local URL="https://boot.netboot.xyz/ipxe"
|
||||||
HASH=$(wget -q -O- "${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}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue