Add preliminary support for MidnightBSD.

This commit is contained in:
Lucas Holt
2021-02-26 16:55:56 -05:00
parent 3fe03807ef
commit 1710a09f6a
7 changed files with 32 additions and 1 deletions

View File

@@ -64,6 +64,11 @@ if [ "${TARGET}" = "ALL" ]; then
error_exit "Batch upgrade is unsupported."
fi
if [ -f /bin/midnightbsd-version ]; then
echo -e "${COLOR_RED}Not yet supported on MidnightBSD.${COLOR_RESET}"
exit 1
fi
if freebsd-version | grep -qi HBSD; then
error_exit "Not yet supported on HardenedBSD."
fi