diff options
author | 1998-09-18 18:42:10 +0000 | |
---|---|---|
committer | 1998-09-18 18:42:10 +0000 | |
commit | 0dd144635eba7a36bd877c0acc381a3bdae06207 (patch) | |
tree | 9465ed5387421aa730373b5ace5c4dcebf99903e | |
parent | support media directives on dhcp interfaces (diff) | |
download | wireguard-openbsd-0dd144635eba7a36bd877c0acc381a3bdae06207.tar.xz wireguard-openbsd-0dd144635eba7a36bd877c0acc381a3bdae06207.zip |
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 |