summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-10-07 02:40:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-10-07 02:40:46 +0000
commit21740a41801641b3fd7d7bc0bd75d8a9263807fb (patch)
treebfeb2f63a5b7105e78507ee74011103b4a6ac86c
parentc1ed9c2def0ccea91681bcfa5a422ecf204d3cbb (diff)
append script-formed dhclient.conf to installed one if necessary
-rw-r--r--distrib/miniroot/install.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh
index 4e3508d7835..3ab867c80bd 100644
--- a/distrib/miniroot/install.sh
+++ b/distrib/miniroot/install.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sh,v 1.38 1998/09/28 13:37:54 deraadt Exp $
+# $OpenBSD: install.sh,v 1.39 1998/10/07 02:40:45 deraadt Exp $
# $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $
#
# Copyright (c) 1997,1998 Todd Miller, Theo de Raadt
@@ -565,6 +565,11 @@ for file in fstab hostname.* hosts myname mygate resolv.conf; do
fi
done
+if [ -f /etc/dhclient.conf ]; then
+ echo -n "Modifying dhclient.conf..."
+ cat /etc/dhclient.conf >> /mnt/etc/dhclient.conf
+fi
+
# If no zoneinfo on the installfs, give them a second chance
if [ ! -e /usr/share/zoneinfo ]; then
get_timezone