From 2840e253f7e8ed2aebb9475c9088b655bc3be93a Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 20 Sep 2014 03:32:57 +0000 Subject: [PATCH] last fixes on new tarball, version --- inxi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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'