#!/bin/bash
#
# status.sh							Aug 2005
# 
# (GPL) Marno van der Molen - marno.vandermolen@gmail.com
#
if [ `whoami` = 'root' ]
then
	while [ 0 ]; do clear && date && echo -e "\n##### FTP SERVER STATUS #####" && /usr/local/sbin/pure-ftpwho && sleep 2s; done #&& echo -e "##### TrackMania Server Status #####\n" && tmwho; sleep 2s; done
#	"##### DISK SPACE STATUS #####" && du -lhs /largedisk/uploads/* | grep -vi readme; sleep 5s; done
else
	echo "You must have root priviliges to run this, and you do not appear to have them."
	su -c status
fi
