note about hwinfo as possible tool

This commit is contained in:
inxi-svn 2008-11-01 22:24:04 +00:00
parent 43bcdfc8a2
commit 50e0c9ec35

5
inxi
View file

@ -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]}"