freebsd-dev/etc/periodic/daily/430.status-rwho
1999-08-27 23:37:10 +00:00

16 lines
235 B
Bash
Executable File

#!/bin/sh
#
# $FreeBSD$
#
if [ -d /var/rwho -a -x /usr/bin/rwho -a $(ls -l /var/rwho | wc -l) -ne 0 ]
then
echo ""
echo "Local network system status:"
ruptime
else
echo ""
echo "Local system status:"
uptime
fi