Browse Source

apply media directives on dhcp interfaces

OPENBSD_2_4
deraadt 26 years ago
parent
commit
20d88103fd
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/etc/netstart

+ 2
- 1
src/etc/netstart View File

@ -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


Loading…
Cancel
Save