mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 07:11:05 +01:00
16 lines
235 B
Bash
Executable File
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
|