diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-09-18 18:42:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-09-18 18:42:11 +0000 |
commit | 7bf77c57bed8511e10374f722400e781de32585c (patch) | |
tree | 9b1d4217a1870436377421bb99ce9ccb6418aa2c | |
parent | 9dc82e5b070cebb1c082bdf8db7dd4f6df963a6d (diff) |
apply media directives on dhcp interfaces
-rw-r--r-- | etc/netstart | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/netstart b/etc/netstart index ed0df09f6f6..4c9cb879d01 100644 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.42 1998/09/10 16:01:32 marc Exp $ +# $OpenBSD: netstart,v 1.43 1998/09/18 18:42:10 deraadt Exp $ # /etc/myname contains my symbolic name # @@ -84,6 +84,7 @@ route -n add -net 127 127.0.0.1 -reject # check to see if device should be configure by dhcp if [ "$af" = "dhcp" ]; then + ifconfig $1 $extras down cmd="/sbin/dhclient $1"; else if [ ! -n "$name" ]; then |