From d1a47c3168618a6f6160ca0f2a46b523915cc7ac Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 25 Jun 2011 03:53:31 +0000 Subject: [PATCH] added nouveau gpu to sensors --- inxi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inxi b/inxi index e00b28b..6bb25d0 100755 --- a/inxi +++ b/inxi @@ -3,7 +3,7 @@ #### Script Name: inxi #### version: 1.7.12 #### Date: June 24 2011 -#### Patch Number: 00 +#### Patch Number: 01 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -3515,7 +3515,7 @@ get_gpu_temp_data() gpuTemp="" separator="" } - /^radeon-/ { + /^(radeon-|nouveau-)/ { while ( getline && !/^$/ ) { if ( /^temp/ ) { sub(/^[[:alnum:]]*.*:/, "", $0 ) # clear out everything to the : @@ -4536,7 +4536,7 @@ get_networking_local_ip_data() fi if [[ -n "$ip_tool_command" ]];then if [[ $ip_tool == 'ifconfig' ]];then - ip_tool_data="$( ifconfig )" + ip_tool_data="$( $ip_tool_command )" # note, ip addr does not have proper record separation, so creating new lines explicitly here at start # of each IF record item. Also getting rid of the unneeded numeric line starters, now it can be parsed # like ifconfig more or less @@ -5391,7 +5391,7 @@ get_sensors_data() tempWorkingUnit="" } # new data arriving: gpu temp in sensors, have to skip that - /^radeon-/ { + /^(radeon-|nouveau-)/ { while ( getline && !/^$/ ) { # do nothing, just skip it }