tweak for output

This commit is contained in:
inxi-svn 2011-06-18 02:51:36 +00:00
parent f5e825bd02
commit ecb4e51a59

4
inxi
View file

@ -3,7 +3,7 @@
#### Script Name: inxi
#### version: 1.6.10
#### Date: June 17 2011
#### Patch Number: 07
#### Patch Number: 08
########################################################################
#### SPECIAL THANKS
########################################################################
@ -4549,7 +4549,7 @@ get_optical_drive_data()
# no need to test for errors yet, probably other user systems will require some alternate paths though
if [[ -n $sys_path ]];then
vendor=$( cat $sys_path/vendor 2>/dev/null | \
sed -E -e 's/^[[:space:]]*//;s/[[:space:]]*$//;s/,//g' -e 's/('"$BAN_LIST_NORMAL"')//g' )
sed -E -e 's/^[[:space:]]*//;s/[[:space:]]*$//;s/,//g' -e 's/TSSTcorp/TSST /' -e 's/('"$BAN_LIST_NORMAL"')//g' )
model=$( cat $sys_path/model 2>/dev/null | sed 's/^[[:space:]]*//;s/[[:space:]]*$//;s/,//g' )
state=$( cat $sys_path/state 2>/dev/null | sed 's/^[[:space:]]*//;s/[[:space:]]*$//;s/,//g' )
rev_number=$( cat $sys_path/rev 2>/dev/null | sed 's/^[[:space:]]*//;s/[[:space:]]*$//;s/,//g' )