trying it with /dev/sr0

This commit is contained in:
inxi-svn 2011-06-18 04:53:48 +00:00
parent 010e8b9b3f
commit 2b1279a14e

6
inxi
View file

@ -3,7 +3,7 @@
#### Script Name: inxi
#### version: 1.7.0
#### Date: June 17 2011
#### Patch Number: 00
#### Patch Number: 01
########################################################################
#### SPECIAL THANKS
########################################################################
@ -6778,10 +6778,10 @@ print_optical_drive_data()
if [[ ${#A_OPTICAL_DRIVE_DATA[@]} -gt 1 ]];then
counter="-$(( i + 1 ))"
fi
drive_id=${a_drives[0]}
if [[ -z $drive_id ]];then
drive_id='N/A'
else
drive_id="/dev/${a_drives[0]}"
fi
drive_links=$( sed 's/~/,/g' <<< ${a_drives[1]} )
if [[ -z $drive_links ]];then