From c83550995f2d499b042cee7cb56c2e46b1278818 Mon Sep 17 00:00:00 2001 From: Thomas de Roo <2+thomas@noreply.localhost> Date: Thu, 30 Apr 2026 10:01:45 +0200 Subject: [PATCH] Update dmidecode2dokuwiki.sh --- dmidecode2dokuwiki.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dmidecode2dokuwiki.sh b/dmidecode2dokuwiki.sh index 196de50..ece76d4 100644 --- a/dmidecode2dokuwiki.sh +++ b/dmidecode2dokuwiki.sh @@ -66,6 +66,11 @@ while read -r SIZE_LINE; do MEMORY_TOTAL_GB=$(( MEMORY_TOTAL_GB + GB )) done < <(dmidecode -t memory | grep "Size:" | awk -F: '{print $2}') +# ====================== +# OS info +# ====================== +OS=$(lsb_release -d|cut -f2) + # ====================== # SCHIJFINFORMATIE # ====================== @@ -91,6 +96,7 @@ $(figlet $(hostname)) | CPU-sockets | $CPU_SOCKETS | | Totaal geheugen | ${MEMORY_TOTAL_GB} GB | | Aantal schijven | $DISK_COUNT | +| OS | $OS | ^ Schijf ^ Model ^ Grootte ^ Type ^ EOF