diff options
author | Martin Natano <natano@cvs.openbsd.org> | 2016-04-28 18:17:33 +0000 |
---|---|---|
committer | Martin Natano <natano@cvs.openbsd.org> | 2016-04-28 18:17:33 +0000 |
commit | a8c89524b91a8c823eccd1342ac80a27dfe17513 (patch) | |
tree | c1b687cf7d3ed49a59fdf34236fbd65e007ec7e3 /distrib/miniroot/install.sub | |
parent | b9f02280d813c23d9936bfad950ceee7e59deae4 (diff) |
Replace /dev/bpf[0-9] with /dev/bpf and /dev/bpf0. The /dev/bpf node is
unused for now, but I plan to convert all programs in base to use it in
a future diff. /dev/bpf0 is for compatibility with existing binaries
and is to be removed after a transition period.
ok rpe krw, for the installer part
"Let's see it hit the tree." deraadt
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r-- | distrib/miniroot/install.sub | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 81e968465ba..14ce4f4f5d6 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.894 2016/04/27 14:50:18 ajacoutot Exp $ +# $OpenBSD: install.sub,v 1.895 2016/04/28 18:17:30 natano Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org> @@ -741,16 +741,6 @@ askpassword() { # Support functions for donetconfig() # ------------------------------------------------------------------------------ -# Run dhclient, making sure there is a free bpf first. -dhclient() { - local _i=0 - - while makedev bpf$_i && ! </dev/bpf$_i; do - ((++_i < 50)) || return - done 2>/dev/null - /sbin/dhclient "$@" -} - # Issue a DHCP request to configure interface $1 and add the host-name option to # /etc/dhclient.conf using $2. dhcp_request() { |