From 65f66d17bfa197eac5a9b9328d99b544654167fc Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Mon, 21 Nov 2022 11:28:35 +0100 Subject: [PATCH] osInfo() improved uefi parsing (FreeBSD) --- lib/osinfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/osinfo.js b/lib/osinfo.js index 0c30cf0..4f2064d 100644 --- a/lib/osinfo.js +++ b/lib/osinfo.js @@ -262,7 +262,7 @@ function osInfo(callback) { } if (_freebsd || _openbsd || _netbsd) { - exec('sysctl kern.ostype kern.osrelease kern.osrevision kern.hostuuid machdep.bootmethod', function (error, stdout) { + exec('sysctl kern.ostype kern.osrelease kern.osrevision kern.hostuuid machdep.bootmethod kern.geom.confxml', function (error, stdout) { let lines = stdout.toString().split('\n'); const distro = util.getValue(lines, 'kern.ostype'); const logofile = util.getValue(lines, 'kern.ostype');