From 50e0c9ec356d6c0114d3c34d832f80033441b436 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 1 Nov 2008 22:24:04 +0000 Subject: [PATCH] note about hwinfo as possible tool --- inxi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/inxi b/inxi index 3d30ec4..651ed17 100755 --- a/inxi +++ b/inxi @@ -39,6 +39,9 @@ #### 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 CMDL_MAX='' @@ -230,7 +233,7 @@ script_debugger() if [ "$DEBUG" -eq 0 ];then return 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++ )) do print_screen_output "${a_debug_buffer[DEBUG_BUFFER_INDEX]}"