mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
last fixes on new tarball, version
This commit is contained in:
parent
58651ac5e5
commit
2840e253f7
5
inxi
5
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'
|
||||
|
|
Loading…
Reference in a new issue