summaryrefslogtreecommitdiff
path: root/etc/netstart
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-09-18 18:42:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-09-18 18:42:11 +0000
commit7bf77c57bed8511e10374f722400e781de32585c (patch)
tree9b1d4217a1870436377421bb99ce9ccb6418aa2c /etc/netstart
parent9dc82e5b070cebb1c082bdf8db7dd4f6df963a6d (diff)
apply media directives on dhcp interfaces
Diffstat (limited to 'etc/netstart')
-rw-r--r--etc/netstart3
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