mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
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:
parent
455e9d6e86
commit
6ef5a48772
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user