Skip to content

Commit

Permalink
bootstrap: prep for 13 correctly now
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Dec 14, 2021
1 parent 4090f49 commit a200a50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ root certificates -> HTTPS -> OPNsense package fingerprints.
What it will also do is turn a supported stock FreeBSD release into
an OPNsense installation. Both UFS and ZFS installations are supported.

The usage is simple, starting with a FreeBSD 12.1-RELEASE image:
The usage is simple, starting with a FreeBSD 13.0-RELEASE image:

# pkg install ca_root_nss
# fetch https://raw.githubusercontent.com/opnsense/update/master/src/bootstrap/opnsense-bootstrap.sh.in
# sh ./opnsense-bootstrap.sh.in -r 21.7
# sh ./opnsense-bootstrap.sh.in -r 22.1

After successful reboot, OPNsense should be up and running. :)

Expand Down
4 changes: 2 additions & 2 deletions src/bootstrap/opnsense-bootstrap.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ if [ "${FBSDARCH}" != "amd64" ]; then
fi

FBSDVER=$(uname -r | colrm 4)
if [ "${FBSDVER}" != "12." ]; then
echo "Must be a FreeBSD 12 release." >&2
if [ "${FBSDVER}" != "13." ]; then
echo "Must be a FreeBSD 13 release." >&2
exit 1
fi

Expand Down

0 comments on commit a200a50

Please sign in to comment.