mirror of
https://github.com/AuxXxilium/arc-addons.git
synced 2024-11-23 21:50:52 +07:00
dbgutils: add more informations
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
7d043baf01
commit
ea0e6cdc40
@ -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
|
Loading…
Reference in New Issue
Block a user