mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-06 06:11:31 +00:00
Use /boot/.force-verbose for verbose lsusb output in armhwinfo.log
This commit is contained in:
parent
d78d1c43d7
commit
e62e3e4b36
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ log_hardware_info() {
|
||||||
echo -e "\n### dmesg:\n" >>${Log}
|
echo -e "\n### dmesg:\n" >>${Log}
|
||||||
cat "${TMPFILE}" >>${Log}
|
cat "${TMPFILE}" >>${Log}
|
||||||
echo -e "\n### lsusb:" >>${Log}
|
echo -e "\n### lsusb:" >>${Log}
|
||||||
[ -f /boot/.verbose ] && USBVERBOSE="-v" || echo "" >>${Log}
|
[ -f /boot/.force-verbose ] && USBVERBOSE="-v" || echo "" >>${Log}
|
||||||
lsusb ${USBVERBOSE} 2>/dev/null >>${Log}
|
lsusb ${USBVERBOSE} 2>/dev/null >>${Log}
|
||||||
echo -e "\n### lscpu:\n" >>${Log}
|
echo -e "\n### lscpu:\n" >>${Log}
|
||||||
lscpu >>${Log}
|
lscpu >>${Log}
|
||||||
|
|
Loading…
Add table
Reference in a new issue