From 6ef5a48772c0decf430bd3cb1e4323ea3e8b18c5 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Fri, 3 Nov 2023 14:11:07 +0100 Subject: [PATCH] firmware: add root file system to health audit So we can see if UFS or ZFS is installed. Loosely related to: https://forum.opnsense.org/index.php?topic=36745.0 --- src/opnsense/scripts/firmware/health.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/opnsense/scripts/firmware/health.sh b/src/opnsense/scripts/firmware/health.sh index f8a43b37e..36dd793c5 100755 --- a/src/opnsense/scripts/firmware/health.sh +++ b/src/opnsense/scripts/firmware/health.sh @@ -213,6 +213,8 @@ EOF echo "***GOT REQUEST TO AUDIT HEALTH***" >> ${LOCKFILE} echo "Currently running $(opnsense-version) at $(date)" >> ${LOCKFILE} +echo ">>> Root file system: $(mount | awk '$3 == "/" { print $1 }')" | ${TEE} ${LOCKFILE} + set_check kernel set_check base