diff options
author | B. Watson <yalhcru@gmail.com> | 2010-05-12 23:27:43 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 23:27:43 +0200 |
commit | a63b77bad6f21fda8c2e2b7613fdc959ac15d196 (patch) | |
tree | 1c5e802490401c7cbb3974f2511c639f95d02b84 /accessibility/wgetpaste/wgetpaste_info | |
parent | 5e1faf6411262e3e57ba7919c2e95f873e58cb24 (diff) | |
download | slackbuilds-a63b77bad6f21fda8c2e2b7613fdc959ac15d196.tar.gz |
accessibility/wgetpaste: Added to 12.2 repository
Diffstat (limited to 'accessibility/wgetpaste/wgetpaste_info')
-rw-r--r-- | accessibility/wgetpaste/wgetpaste_info | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/accessibility/wgetpaste/wgetpaste_info b/accessibility/wgetpaste/wgetpaste_info new file mode 100644 index 0000000000..ff4210db9e --- /dev/null +++ b/accessibility/wgetpaste/wgetpaste_info @@ -0,0 +1,20 @@ +#!/bin/sh + +# Slackware system information, similar to "emerge --info" on Gentoo +# By B. Watson. Use, modify, and enjoy as you like. + +PKGS="pkgtools gcc glibc-solibs automake autoconf libtool xorg-server qt kdebase perl python" + +cat /etc/slackware-version 2>/dev/null || \ + echo "(Unknown OS: not Slackware)" + +uname -a +uptime +echo -n "CPU(s): " ; grep -c ^processor /proc/cpuinfo +grep -i ^memtotal: /proc/meminfo +grep -i ^flags /proc/cpuinfo | head -1 + +cd /var/log/packages +for pkg in $PKGS; do + grep -l ^$pkg: * +done |