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
This commit is contained in:
Franco Fichtner 2023-11-03 14:11:07 +01:00
parent 455e9d6e86
commit 6ef5a48772

View File

@ -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