mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
bug fix
This commit is contained in:
parent
d385fd39b0
commit
37d0118dfd
6
inxi
6
inxi
|
@ -3,7 +3,7 @@
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 1.7.24
|
#### version: 1.7.24
|
||||||
#### Date: November 21 2011
|
#### Date: November 21 2011
|
||||||
#### Patch Number: 02
|
#### Patch Number: 03
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -4479,8 +4479,8 @@ get_network_advanced_data()
|
||||||
if [[ ! -e $working_path/net ]];then
|
if [[ ! -e $working_path/net ]];then
|
||||||
# using find here, probably will need to also use it in usb part since the grep
|
# using find here, probably will need to also use it in usb part since the grep
|
||||||
# method seems to not be working now. Slice off the rest, which leaves the basic path
|
# method seems to not be working now. Slice off the rest, which leaves the basic path
|
||||||
working_path=$( find $working_path/*/uevent 2>/dev/null | \
|
working_path=$( find $working_path/*/net/*/uevent 2>/dev/null | \
|
||||||
sed 's|/uevent.*||' )
|
sed 's|/net.*||' )
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue