mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2026-06-14 17:36:40 +00:00
15 lines
694 B
Text
15 lines
694 B
Text
INFO=" |OpenBSD|Independent||https://www.openbsd.org/|FREE, multi-platform 4.4BSD-based UNIX-like operating system. Our efforts emphasize portability, standardization, correctness, proactive security and integrated cryptography.";;
|
|
|
|
function releases_openbsd(){
|
|
local OBSD_RELEASES=$(curl -sL https://mirror.leaseweb.com/pub/OpenBSD/|grep -e '6\.[8-9]/' -e '[7-9]\.'|cut -d\" -f4|tr -d '/')
|
|
echo ${OBSD_RELEASES}
|
|
}
|
|
|
|
function get_openbsd() {
|
|
local HASH=""
|
|
local ISO="install${RELEASE//\./}.iso"
|
|
local URL="https://mirror.leaseweb.com/pub/OpenBSD/${RELEASE}/amd64"
|
|
|
|
HASH=$(wget -q -O- "${URL}/SHA256" | grep "${ISO}" | cut -d' ' -f4)
|
|
echo "${URL}/${ISO} ${HASH}"
|
|
}
|