mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
trying it with /dev/sr0
This commit is contained in:
parent
010e8b9b3f
commit
2b1279a14e
6
inxi
6
inxi
|
@ -3,7 +3,7 @@
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 1.7.0
|
#### version: 1.7.0
|
||||||
#### Date: June 17 2011
|
#### Date: June 17 2011
|
||||||
#### Patch Number: 00
|
#### Patch Number: 01
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -6778,10 +6778,10 @@ print_optical_drive_data()
|
||||||
if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -gt 1 ]];then
|
if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -gt 1 ]];then
|
||||||
counter="-$(( i + 1 ))"
|
counter="-$(( i + 1 ))"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
drive_id=${a_drives[0]}
|
|
||||||
if [[ -z $drive_id ]];then
|
if [[ -z $drive_id ]];then
|
||||||
drive_id='N/A'
|
drive_id='N/A'
|
||||||
|
else
|
||||||
|
drive_id="/dev/${a_drives[0]}"
|
||||||
fi
|
fi
|
||||||
drive_links=$( sed 's/~/,/g' <<< ${a_drives[1]} )
|
drive_links=$( sed 's/~/,/g' <<< ${a_drives[1]} )
|
||||||
if [[ -z $drive_links ]];then
|
if [[ -z $drive_links ]];then
|
||||||
|
|
Loading…
Reference in a new issue