mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
tiny fix, added back in missing dash - to inxi debugger output file
This commit is contained in:
parent
75cb0eca7c
commit
1ed6348436
10
inxi
10
inxi
|
@ -1550,7 +1550,7 @@ debug_data_collector()
|
|||
bsd_string="-$BSD_TYPE"
|
||||
fi
|
||||
|
||||
debug_data_dir="inxi$bsd_string$host-$(date +%Y%m%d-%H%M%S)-$1"
|
||||
debug_data_dir="inxi$bsd_string-$host-$(date +%Y%m%d-%H%M%S)-$1"
|
||||
|
||||
if [[ $B_IRC == 'false' ]];then
|
||||
if [[ -n $ALTERNATE_FTP ]];then
|
||||
|
@ -1600,8 +1600,12 @@ debug_data_collector()
|
|||
initctl list &> $debug_data_dir/initctl-list.txt
|
||||
sensors &> $debug_data_dir/sensors.txt
|
||||
strings --version &> $debug_data_dir/strings.txt
|
||||
nvidia-smi -q &> $debug_data_dir/nvidia-smi-q.txt
|
||||
nvidia-smi -q -x &> $debug_data_dir/nvidia-smi-xq.txt
|
||||
if type -p nvidia-smi &>/dev/null;then
|
||||
nvidia-smi -q &> $debug_data_dir/nvidia-smi-q.txt
|
||||
nvidia-smi -q -x &> $debug_data_dir/nvidia-smi-xq.txt
|
||||
else
|
||||
touch $debug_data_dir/nvidia-smi-absent
|
||||
fi
|
||||
head -n 1 /proc/asound/card*/codec* &> $debug_data_dir/proc-asound-card-codec.txt
|
||||
ls /usr/bin/gcc* &> $debug_data_dir/gcc-sys-versions.txt
|
||||
gcc --version &> $debug_data_dir/gcc-version.txt
|
||||
|
|
Loading…
Reference in a new issue