dbgutils: add more informations

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-08-02 18:48:30 +02:00
parent 7d043baf01
commit ea0e6cdc40

View File

@ -29,7 +29,8 @@ function getlog() {
dmesg >"${DEST_PATH}/dmesg.log"
lsmod >"${DEST_PATH}/lsmod.log"
lspci -Qnnk >"${DEST_PATH}/lspci.log" || true
ip addr >"${DEST_PATH}/ip-addr.log" || true
ls -l /sys/class/net/*/device/driver >"${DEST_PATH}/net-driver.log" || true
ls -l /sys/class/block >"${DEST_PATH}/disk-block.log" || true
@ -60,4 +61,4 @@ elif [ "${1}" = "rcExit" ]; then
elif [ "${1}" = "late" ]; then
echo "Installing addon dbgutils - ${1}"
getlog "${1}"
fi
fi