Sindbad~EG File Manager
#!/bin/sh
#
# $FreeBSD: releng/9.2/etc/periodic/daily/420.status-network 237721 2012-06-28 18:52:33Z jhb $
#
# If there is a global system configuration file, suck it in.
#
if [ -r /etc/defaults/periodic.conf ]
then
. /etc/defaults/periodic.conf
source_periodic_confs
fi
case "$daily_status_network_enable" in
[Yy][Ee][Ss])
echo ""
echo "Network interface status:"
case "$daily_status_network_usedns" in
[Yy][Ee][Ss])
netstat -id && rc=0 || rc=3;;
*)
netstat -idn && rc=0 || rc=3;;
esac;;
*) rc=0;;
esac
exit $rc
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists