mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-11 04:27:56 -05:00
Added quotes around filename
This commit is contained in:
parent
100ef0ad2f
commit
dbe44acbd3
1 changed files with 11 additions and 14 deletions
|
|
@ -2,29 +2,26 @@
|
|||
|
||||
LOGNAME=bt-debuginfo-$(date +%Y%m%d-%H%M%S).txt
|
||||
|
||||
echo "-------- cat /proc/versionus" >> /tmp/$LOGNAME
|
||||
cat /proc/version > /tmp/$LOGNAME
|
||||
echo "-------- cat /proc/versionus" >> "/tmp/$LOGNAME"
|
||||
cat /proc/version > "/tmp/$LOGNAME"
|
||||
|
||||
echo "-------- lsusb -v 2>&1 | egrep 'bDeviceProtocol(.*)Bluetooth' -B7 | head -1 " >> /tmp/$LOGNAME
|
||||
lsusb -v 2>&1 | egrep 'bDeviceProtocol(.*)Bluetooth' -B7 | head -1 >> /tmp/$LOGNAME
|
||||
echo "-------- lsusb -v 2>&1 | egrep 'bDeviceProtocol(.*)Bluetooth' -B7 | head -1 " >> "/tmp/$LOGNAME"
|
||||
lsusb -v 2>&1 | egrep 'bDeviceProtocol(.*)Bluetooth' -B7 | head -1 >> "/tmp/$LOGNAME"
|
||||
|
||||
if [ "$(id -u)" = "0" ]; then
|
||||
echo "-------- cat /sys/kernel/debug/usb/devices" >> /tmp/$LOGNAME
|
||||
cat /sys/kernel/debug/usb/devices >> /tmp/$LOGNAME
|
||||
echo "-------- cat /sys/kernel/debug/usb/devices" >> "/tmp/$LOGNAME"
|
||||
cat /sys/kernel/debug/usb/devices >> "/tmp/$LOGNAME"
|
||||
else
|
||||
echo "-------- cat /sys/kernel/debug/usb/devices skipped" >> /tmp/$LOGNAME
|
||||
echo "-------- cat /sys/kernel/debug/usb/devices skipped" >> "/tmp/$LOGNAME"
|
||||
echo "WARNING: Skipping the collection of kernel usb debug info (can only be accessed as root)"
|
||||
echo " To include kernel usb debug info, re-run the script as root/via sudo"
|
||||
echo " "
|
||||
fi
|
||||
|
||||
echo "-------- bluetoothctl devices" >> /tmp/$LOGNAME
|
||||
bluetoothctl devices >> /tmp/$LOGNAME
|
||||
echo "-------- bluetoothctl devices" >> "/tmp/$LOGNAME"
|
||||
bluetoothctl devices >> "/tmp/$LOGNAME"
|
||||
|
||||
echo "-------- bluetoothctl info" >> /tmp/$LOGNAME
|
||||
bluetoothctl info >> /tmp/$LOGNAME
|
||||
|
||||
echo "-------- bluetoothctl info" >> /tmp/$LOGNAME
|
||||
bluetoothctl info >> /tmp/$LOGNAME
|
||||
echo "-------- bluetoothctl info" >> "/tmp/$LOGNAME"
|
||||
bluetoothctl info >> "/tmp/$LOGNAME"
|
||||
|
||||
echo "Information on your bluetooth setup collected into /tmp/$LOGNAME"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue