]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement individual operations on static and dhcp interfaces. Previously
authorMike Makonnen <mtm@FreeBSD.org>
Sun, 29 Jun 2003 05:34:41 +0000 (05:34 +0000)
committerMike Makonnen <mtm@FreeBSD.org>
Sun, 29 Jun 2003 05:34:41 +0000 (05:34 +0000)
commitb166db2bfd43a71d34db4ab42379f55c2271227e
tree17fa04e2f7e33b7c1058cd83c70e044bb00232a8
parent2a7ea7e4876b38163126e5f032b6287ca94b0a6f
Implement individual operations on static and dhcp interfaces. Previously
network interfaces could only be turned on and off as a group (all
static interfaces or all dhcp interfaces).

When used to start the interface a 'long form' ifconfig output is
used to show the status of the interface, but when stopping an interface
the script will simply output the name of the interface. This is simply my
personal preference. Hopefully as this functionality matures we can
stabilize on a prefered form of output for these scripts.

A stop command to the dhclient script now explicitly releases the dhcp lease.
Behaviour at system shutdown; however, is unchanged since dhclient is not,
by default, run at that time. The client will not release its lease
at shutdown.
etc/rc.d/dhclient
etc/rc.d/netif