X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-hwinfo;h=fc5c8b4d26f24a595f444ec6305107d5cb4f56bc;hb=a95f66a76368c3430d9871761e9aba02b4163c16;hp=75567b2a3339a174424f7cca6098af93b700effb;hpb=5afa0d80a53a44fdb30a3e2ba43fb4df02ab7632;p=grml-hwinfo.git diff --git a/grml-hwinfo b/grml-hwinfo index 75567b2..fc5c8b4 100755 --- a/grml-hwinfo +++ b/grml-hwinfo @@ -229,7 +229,7 @@ cd "${OUTDIR}" || exit 1 exectest ip && ip link show > ip_link exectest ip && ip maddr show > ip_maddr exectest ip && ip mroute show > ip_mroute - exectest ip && ip mrule show > ip_mrule + exectest ip && ip mrule show > ip_mrule 2>ip_mrule.error exectest ip && ip neigh show > ip_neigh exectest ip && ip netns list > ip_netns exectest ip && ip ntable show > ip_ntable @@ -255,7 +255,11 @@ cd "${OUTDIR}" || exit 1 cat /proc/acpi/info > acpi_info fi - exectest acpi && acpi > ./acpi 2>acpi.error && acpi -v > ./acpi.version + if exectest acpi ; then + acpi > ./acpi 2>acpi.error + acpi --everything > ./acpi.everything 2>./acpi.everything.error + acpi -v > ./acpi.version + fi [ -r /proc/apm/ ] && apm > ./apm if exectest mcelog ; then @@ -361,7 +365,7 @@ cd "${OUTDIR}" || exit 1 if exectest hdparm ; then echo -e "hdparm -iv /dev/${disk}:\n" >> hdparm - hdparm -iv "/dev/$disk" >> ./hdparm + hdparm -iv "/dev/$disk" >> ./hdparm 2>> ./hdparm.error echo -e "\n\n" >> hdparm fi @@ -385,7 +389,7 @@ cd "${OUTDIR}" || exit 1 if exectest sg_inq ; then echo -e "sg_inq /dev/${disk}:\n" >> sg_inq - sg_inq "/dev/$disk" >> ./sg_inq + sg_inq "/dev/$disk" >> ./sg_inq 2>> ./sg_inq.error echo -e "\n\n" >> sg_inq fi