From cec06325ba15fc490a5df2d215fc80030534cf07 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Thu, 24 Dec 2015 17:25:15 +0100 Subject: Start of a new reduced version of xdm. Removed support for non BSD systems and for XDMCP. --- config/Xwilling | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config/Xwilling (limited to 'config/Xwilling') diff --git a/config/Xwilling b/config/Xwilling new file mode 100644 index 0000000..7d5d0ad --- /dev/null +++ b/config/Xwilling @@ -0,0 +1,11 @@ +#!/bin/sh +# + +# 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}" -- cgit v1.2.3