Skip to content

Commit

Permalink
Show /etc/zbm-commit-hash in zreport
Browse files Browse the repository at this point in the history
  • Loading branch information
zdykstra committed Jul 7, 2022
1 parent d4b35a0 commit 05dbf11
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zfsbootmenu/lib/zfsbootmenu-core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1799,6 +1799,11 @@ emergency_shell() {
# returns: nothing

zreport() {
local ZBMTAG
if [ -r "/etc/zbm-commit-hash" ]; then
read -r ZBMTAG < /etc/zbm-commit-hash
echo -e "ZFSBootMenu version: ${ZBMTAG}\n"
fi
uname -a
echo -e "\n# modinfo"
echo "$( modinfo -F filename spl ): $( modinfo -F version spl )"
Expand Down

0 comments on commit 05dbf11

Please sign in to comment.