diff options
author | Florian Pritz <bluewind@xinu.at> | 2011-08-10 21:57:20 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2011-08-10 21:57:20 +0200 |
commit | fcadb37020a62c96213327873faa68998559cf2a (patch) | |
tree | bfb51ac6489eac22ad2fbbc1bb4af6d68db144d1 /sysinfo | |
parent | 48316772d3c0cf95da2987ab83d8ee47c67e12d8 (diff) | |
download | bin-fcadb37020a62c96213327873faa68998559cf2a.tar.gz bin-fcadb37020a62c96213327873faa68998559cf2a.tar.xz |
use variable instead of hostname cmd
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'sysinfo')
-rwxr-xr-x | sysinfo | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5,7 +5,7 @@ NC="\e[0m" clear cat /etc/motd echo -echo -e "${BLUE}Host:${NC} $(hostname)" +echo -e "${BLUE}Host:${NC} $HOST" echo -e "${BLUE}Uptime:$NC ${${$(uptime)%%,*}##*up }, ${$(</proc/loadavg)% *}" if [ -x /usr/bin/fortune ]; then |