diff --git a/inxi b/inxi index be1a8ac..6266dff 100755 --- a/inxi +++ b/inxi @@ -12136,7 +12136,7 @@ print_networking_ip_data() print_optical_drive_data() { eval $LOGFS - local a_drives='' drive_data='' counter='' dev_string='/dev/' + local a_drives='' drive_data='' counter='' dev_string='/dev/' speed_string='x' local drive_id='' drive_links='' vendor='' speed='' multisession='' mcn='' audio='' local dvd='' state='' rw_support='' rev='' separator='' drive_string='' part_2_data='' if [[ -z $BSD_TYPE ]];then @@ -12144,6 +12144,7 @@ print_optical_drive_data() else get_optical_drive_data_bsd dev_string='' + speed_string='' fi # 0 - true dev path, ie, sr0, hdc # 1 - dev links to true path @@ -12255,7 +12256,7 @@ print_optical_drive_data() if [[ -z ${a_drives[5]} ]];then speed='N/A' else - speed="${a_drives[5]}x" + speed="${a_drives[5]}$speed_string" fi if [[ -z ${a_drives[8]} ]];then audio='N/A'