Add /proc/partitions to log_hardware_info

This commit is contained in:
Thomas Kaiser 2016-09-19 10:16:21 +02:00 committed by GitHub
parent f360462d2a
commit a3b41bc660

View File

@ -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}