2014-08-13 16:53:16 +02:00
|
|
|
#!/bin/sh
|
2012-12-17 17:33:15 +01:00
|
|
|
echo "<module>";
|
|
|
|
echo "<name>who</name>";
|
2014-04-14 14:43:10 +02:00
|
|
|
echo "<type>async_string</type>";
|
2012-12-17 17:33:15 +01:00
|
|
|
echo "<data><![CDATA["
|
2014-04-14 14:43:10 +02:00
|
|
|
WHO=`who`
|
2014-08-13 16:53:16 +02:00
|
|
|
if [ "$WHO" = "" ]; then
|
2014-04-14 14:43:10 +02:00
|
|
|
echo "None"
|
|
|
|
else
|
|
|
|
echo $WHO
|
|
|
|
fi
|
2012-12-17 17:33:15 +01:00
|
|
|
echo "]]></data>"
|
|
|
|
echo "</module>"
|
|
|
|
|