|
|
@ -889,8 +889,9 @@ function get_fedora() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function get_freebsd() { |
|
|
|
function get_freebsd() { |
|
|
|
|
|
|
|
local EDITION="${1}" |
|
|
|
local HASH="" |
|
|
|
local HASH="" |
|
|
|
local ISO="FreeBSD-${RELEASE}-RELEASE-amd64-dvd1.iso" |
|
|
|
local ISO="FreeBSD-${RELEASE}-RELEASE-amd64-${EDITION}.iso" |
|
|
|
local URL="https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/${RELEASE}" |
|
|
|
local URL="https://download.freebsd.org/ftp/releases/amd64/amd64/ISO-IMAGES/${RELEASE}" |
|
|
|
|
|
|
|
|
|
|
|
HASH=$(wget -q -O- "${URL}/CHECKSUM.SHA256-FreeBSD-${RELEASE}-RELEASE-amd64" | grep "${ISO}" | grep -v ".xz" | cut -d' ' -f4) |
|
|
|
HASH=$(wget -q -O- "${URL}/CHECKSUM.SHA256-FreeBSD-${RELEASE}-RELEASE-amd64" | grep "${ISO}" | grep -v ".xz" | cut -d' ' -f4) |
|
|
|