From 785bdd47f0df9c07fcdc6846e6d6ca2729c3eba2 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 26 May 2021 16:33:47 +0200 Subject: Added FreeBSD article --- content/docs/freebsd/switch-to-latest.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 content/docs/freebsd/switch-to-latest.md (limited to 'content') diff --git a/content/docs/freebsd/switch-to-latest.md b/content/docs/freebsd/switch-to-latest.md new file mode 100644 index 0000000..3dea7cc --- /dev/null +++ b/content/docs/freebsd/switch-to-latest.md @@ -0,0 +1,17 @@ +--- +title: Switch from quarterly to latest +description: How to switch your FreeBSD install from the quarterly release cycle to latest +--- + +## Introduction + +I find that the few days I have to wait before a security update that is already available through the FreeBSD latest release cycle before it is also available in quarterly to be a little stressful. I don't really care for the bleeding edge but I would rather have these security updates as soon as possible. + +## How to + +``` +mkdir -p /usr/local/etc/pkg/repos +echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf +sed -e 's/^FreeBSD:/latest:/' -e 's/quarterly/latest/' /etc/pkg/FreeBSD.conf > /etc/pkg/latest.conf +pkg upgrade +``` -- cgit v1.2.3