mirror of
https://github.com/smxi/inxi.git
synced 2025-01-31 18:12:21 +00:00
Updated -V/--version information to better reflect inxi status, cleaned up a few little glitches.
This commit is contained in:
parent
6253441bc3
commit
eb893cce4b
17
inxi
17
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 0.2.12
|
#### version: 0.2.13
|
||||||
#### Date: October 30 2008
|
#### Date: October 30 2008
|
||||||
########################################################################
|
########################################################################
|
||||||
#### inxi is a fork of infobash, the original bash sys info script by locsmif
|
#### inxi is a fork of infobash, the original bash sys info script by locsmif
|
||||||
|
@ -487,13 +487,19 @@ show_options()
|
||||||
## print out version information for -V/--version
|
## print out version information for -V/--version
|
||||||
print_version_info()
|
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 "Tested with Irssi, Xchat, Konversation, BitchX, KSirc, ircII,"
|
||||||
print_screen_output "Gaim/Pidgin, Weechat, KVIrc and Kopete."
|
print_screen_output "Gaim/Pidgin, Weechat, KVIrc and Kopete."
|
||||||
print_screen_output ""
|
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) 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 "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 ""
|
||||||
print_screen_output "This program is free software; you can redistribute it and/or modify"
|
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 "it under the terms of the GNU General Public License as published by"
|
||||||
|
@ -1073,8 +1079,7 @@ get_hard_drive_data()
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ -e /proc/scsi/scsi ]];then
|
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
|
# Silly sata detection, will also pick up usb sticks. This will be redone soon.
|
||||||
# the way :)
|
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
a_total_hdd=($(gawk '
|
a_total_hdd=($(gawk '
|
||||||
BEGIN { IGNORECASE=1 }
|
BEGIN { IGNORECASE=1 }
|
||||||
|
|
Loading…
Reference in a new issue