From 3ac87738a932c7c2a5bf53b341cb9eb648778767 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 6 Jun 2011 04:27:10 +0000 Subject: [PATCH] need to update the new path variables for the lenny fix too --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index b8744de..b85fb87 100755 --- a/inxi +++ b/inxi @@ -3972,9 +3972,9 @@ get_network_advanced_data() working_path=$working_path/net/$if_path # 2.6.32 debian lenny kernel shows not: /net/eth0 but /net:eth0 else - if_path=$( ls $working_path 2>/dev/null | grep 'net:' ) + if_path=$( ls $working_uevent_path 2>/dev/null | grep 'net:' ) if_id=$( cut -d ':' -f 2 <<< "$if_path" ) - working_path=$working_path/$if_path + working_path=$working_uevent_path/$if_path fi if [[ -n $if_path ]];then