Re: Get ${OSREL} at install time

From: Nuno Teixeira <>
Date: Tue, 18 Apr 2023 09:06:55 UTC

Not really OSREL, but when I needed to know the FreeBSD version at
> install time, this is what I did:
> It's not exactly nice, just parsing the version manually...

Maybe this it what I'm looking for: check /etc/os-release and install time.
The above code is lua?
Is there a way to use shell to check os-release file?


Nuno Teixeira
FreeBSD Committer (ports)