mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
note about hwinfo as possible tool
This commit is contained in:
parent
43bcdfc8a2
commit
50e0c9ec35
5
inxi
5
inxi
|
@ -39,6 +39,9 @@
|
||||||
#### VARIABLES
|
#### VARIABLES
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
||||||
|
## NOTE: we can use hwinfo if it's available in all systems, or most, to get
|
||||||
|
## a lot more data and verbosity levels going
|
||||||
|
|
||||||
### Variable initializations: null values
|
### Variable initializations: null values
|
||||||
|
|
||||||
CMDL_MAX=''
|
CMDL_MAX=''
|
||||||
|
@ -230,7 +233,7 @@ script_debugger()
|
||||||
if [ "$DEBUG" -eq 0 ];then
|
if [ "$DEBUG" -eq 0 ];then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
if ((DEBUG_BUFFER_INDEX));then
|
if [ "$DEBUG_BUFFER_INDEX" -gt 0 ];then
|
||||||
for (( DEBUG_BUFFER_INDEX=0; DEBUG_BUFFER_INDEX < ${#a_debug_buffer[@]}; DEBUG_BUFFER_INDEX++ ))
|
for (( DEBUG_BUFFER_INDEX=0; DEBUG_BUFFER_INDEX < ${#a_debug_buffer[@]}; DEBUG_BUFFER_INDEX++ ))
|
||||||
do
|
do
|
||||||
print_screen_output "${a_debug_buffer[DEBUG_BUFFER_INDEX]}"
|
print_screen_output "${a_debug_buffer[DEBUG_BUFFER_INDEX]}"
|
||||||
|
|
Loading…
Reference in a new issue