Re: Get ${OSREL} at install time

From: Piotr Smyrak <>
Date: Tue, 18 Apr 2023 10:49:55 UTC
On Tue, 18 Apr 2023 10:10:57 +0100
Nuno Teixeira <> wrote:

> Yes, something like it. I will not need src sys/conf/,
> /etc/os-release will do the job.
> Thinking right now in a way to check /etc/os-release version at
> install time.

You also can check output from freebsd-version(1). It's also has the
advantage of letting you inspect values of hosted jails. 

 Piotr Smyrak