diff options
author | Julien Dessaux | 2021-05-26 16:33:47 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-05-26 16:33:47 +0200 |
commit | 785bdd47f0df9c07fcdc6846e6d6ca2729c3eba2 (patch) | |
tree | da62717ab493641c988d3eab6115e9046b2b7102 | |
parent | Added freebsd docs article (diff) | |
download | www-785bdd47f0df9c07fcdc6846e6d6ca2729c3eba2.tar.gz www-785bdd47f0df9c07fcdc6846e6d6ca2729c3eba2.tar.bz2 www-785bdd47f0df9c07fcdc6846e6d6ca2729c3eba2.zip |
Added FreeBSD article
-rw-r--r-- | content/docs/freebsd/switch-to-latest.md | 17 |
1 files changed, 17 insertions, 0 deletions
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 +``` |