diff options
author | Marco S Hyman <marc@cvs.openbsd.org> | 2001-02-23 17:51:10 +0000 |
---|---|---|
committer | Marco S Hyman <marc@cvs.openbsd.org> | 2001-02-23 17:51:10 +0000 |
commit | 7a3031f3b9f681680680868d4f3ef50d3c6db79b (patch) | |
tree | d529254955009e0ef7d5a9b3ef86422d65d03f0f /distrib | |
parent | 5654ba16ea45f48d965c063cfe7f2733083d88b0 (diff) |
create dhclient.leases when needed; ok deraadt@
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/miniroot/install.sub | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index b3389b2e9a4..f2ab1c72cc3 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: install.sub,v 1.161 2001/02/12 09:54:09 deraadt Exp $ +# $OpenBSD: install.sub,v 1.162 2001/02/23 17:51:09 marc Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997,1998 Todd Miller, Theo de Raadt @@ -634,6 +634,7 @@ send host-name "$_hostname"; request subnet-mask, broadcast-address, routers, domain-name, domain-name-servers, host-name; __EOT + > /var/db/dhclient.leases dhclient -1 ${_if_name} set -- `ifconfig $_if_name | sed -n ' |