Updated -V/--version information to better reflect inxi status, cleaned up a few little glitches.

This commit is contained in:
inxi-svn 2008-10-31 04:24:09 +00:00
parent 6253441bc3
commit eb893cce4b

19
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash
########################################################################
#### Script Name: inxi
#### version: 0.2.12
#### version: 0.2.13
#### Date: October 30 2008
########################################################################
#### inxi is a fork of infobash, the original bash sys info script by locsmif
@ -487,14 +487,20 @@ show_options()
## print out version information for -V/--version
print_version_info()
{
print_screen_output "inxi, the universal, portable, system info script for irc."
local last_modified=$( grep -im 1 'date:' $SCRIPT_PATH/$SCRIPT_NAME | awk '{print $3,$4,$5}' )
print_screen_output "inxi - the universal, portable, system info script for irc."
print_screen_output "Version: $SCRIPT_VERSION_NUMBER"
print_screen_output "Script Last Modified: $last_modified"
print_screen_output ""
print_screen_output "Tested with Irssi, Xchat, Konversation, BitchX, KSirc, ircII,"
print_screen_output "Gaim/Pidgin, Weechat, KVIrc and Kopete."
print_screen_output ""
print_screen_output "This script is a fork of Infobash:"
print_screen_output "This script is a fork of Infobash, which is:"
print_screen_output "Copyright (C) 2005-2007 Michiel de Boer a.k.a. locsmif <inxi@rebelhomicide.demon.nl>"
print_screen_output "Copyright (C) 2008 Scott Rogers, Harald Hope"
print_screen_output " "
print_screen_output "Subsequent changes and modifications (after Infobash 3.02) are:"
print_screen_output "Copyright (C) 2008 Scott Rogers, Harald Hope, aka trash80 & h2"
print_screen_output ""
print_screen_output "This program is free software; you can redistribute it and/or modify"
print_screen_output "it under the terms of the GNU General Public License as published by"
print_screen_output "the Free Software Foundation; either version 3 of the License, or"
@ -1073,8 +1079,7 @@ get_hard_drive_data()
done
if [[ -e /proc/scsi/scsi ]];then
# Silly sata detection, will also pick up usb sticks, and it is all I will put into inxi. if you want more, infoperl is on
# the way :)
# Silly sata detection, will also pick up usb sticks. This will be redone soon.
IFS=$'\n'
a_total_hdd=($(gawk '
BEGIN { IGNORECASE=1 }