Add /proc/partitions to log_hardware_info
This commit is contained in:
parent
f360462d2a
commit
a3b41bc660
@ -177,6 +177,8 @@ log_hardware_info() {
|
||||
cat /proc/meminfo >>${Log}
|
||||
echo -e "\n### ifconfig:\n" >>${Log}
|
||||
ifconfig >>${Log}
|
||||
echo -e "### partitions:\n" >>${Log}
|
||||
cat /proc/partitions >>${Log}
|
||||
echo -e "### df:\n" >>${Log}
|
||||
df -h >>${Log}
|
||||
[[ -e /boot/script.bin ]] && echo -e "\n### /boot/script.bin --> $(readlink /boot/script.bin)" >>${Log}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user