Subject: CVS commit: basesrc
To: None <email@example.com>
From: Bill Sommerfeld <firstname.lastname@example.org>
Date: 07/03/1999 10:31:16
Module Name: basesrc
Committed By: sommerfeld
Date: Sat Jul 3 17:31:16 UTC 1999
basesrc/sbin/ifconfig: ifconfig.8 ifconfig.c
Add a new -s option to make it easier to test the link-level status
(i.e., 10baseT carrier/no carrier) of an interface from scripts
ifconfig -s <interface> will exit with a false status if the interface
reports its unconnected.
-s also works in conjunction with -l and -a, filtering out interfaces
which are reporting down.
Also, add -b (which shows only broadcast interfaces with -l and -a).
I find these options useful in network autoconfig scripts for mobile
To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 basesrc/sbin/ifconfig/ifconfig.8
cvs rdiff -r1.53 -r1.54 basesrc/sbin/ifconfig/ifconfig.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.