Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 2c4781fde30b34b41f7f1327fd449d50 > files > 7

kde-settings-kdm-4.7-15.fc16.noarch.rpm

#!/bin/sh
#
# $XFree86$

# The output of this script is displayed in the chooser window.
# (instead of "Willing to manage")

load="`uptime|sed -e 's/^.*load[^0-9]*//'`"
nrusers="`who|cut -c 1-8|sort -u|wc -l|sed 's/^[ 	]*//'`"
s=""; [ "$nrusers" != 1 ] && s=s

echo "${nrusers} user${s}, load: ${load}"