diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2008-07-06 14:31:20 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2008-07-06 14:31:20 +0000 |
commit | 24f4380062115c3e4227cc3a09d805ed8881b1a5 (patch) | |
tree | 3d7bb691f58b4df2cc67d180c32d08849713673f /distrib/miniroot/install.sub | |
parent | 64258cfd7032e7872fd802746cfb9f60aa5603d3 (diff) |
Make 'dhcp' the initial default when configuring the network. This
makes one more answer <cr>'able during install without changing any
existing behaviour.
Change 'NTP server?' default answer from 'none' to 'default'.
Suggested by thib@, supported by marco@, jsing@, millert@
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r-- | distrib/miniroot/install.sub | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index a88300106e7..62c329fb3b2 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.434 2008/07/02 00:13:32 deraadt Exp $ +# $OpenBSD: install.sub,v 1.435 2008/07/06 14:31:19 krw Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2007 Todd Miller, Theo de Raadt, Ken Westerback @@ -664,7 +664,7 @@ v4_config() { fi fi - [[ -x /sbin/dhclient ]] && _prompt=" or 'dhcp'" + [[ -x /sbin/dhclient ]] && { _prompt=" or 'dhcp'" ; : ${_addr:=dhcp} ; } _prompt="IPv4 address for $_ifs? (or 'none'$_prompt)" ask_until "$_prompt" "$_addr" @@ -1530,7 +1530,7 @@ questions() { >>/mnt/etc/rc.conf.local fi - ask "NTP server? (host, 'none' or 'default')" none + ask "NTP server? (host, 'none' or 'default')" default if [[ $resp != none ]]; then echo "ntpd_flags= # enabled during install" \ >>/mnt/etc/rc.conf.local |