Subject: netstat in /etc/daily
To: None <tech-userlevel@netbsd.org>
From: Jean-Edouard Babin <radius@gmail.com>
List: tech-userlevel
Date: 06/17/2004 07:16:56
Hi,
netstat in /etc/daily use -inv, it's not cool to read 'Ipkts Ierrs
Opkts Oerrs Colls' when there is ipv6 address because it's no longer
aligned.
i have seen a conversation about this in 2000 on this list, i have not
read all mail but i guess that there is 3 type of users: one who only
want to check for 'Ipkts Ierrs Opkts Oerrs Colls', one who need to
see address/network change, and one who wants both ;)
so why do not to add a checkyesno to do something like
echo "network:"
if checkyesno verbose_network; then
netstat -inv
else
netstat -in
fi
echo ""
--
Jean-Edouard BABIN
Mail: Jeb@jeb.com.fr
Web : www.Jeb.com.fr
IRC : Jeb @ Undernet