summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-03-08 13:13:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-03-08 13:13:55 +0000
commitc7b5954a05cf40e39080402dc96299ab6c015ca2 (patch)
tree15c59e2d42cd64f1f096c83cb3fce2e60337c624 /distrib/miniroot
parentca8bc53a5bfe0ca2e6e4299af4c4f177ef28145b (diff)
ask about ntpd(8) in install script; ok krw henning
this is pending an improvement from henning to ntpd to make it utterly silent during startup.
Diffstat (limited to 'distrib/miniroot')
-rw-r--r--distrib/miniroot/install.sub8
1 files changed, 7 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 6b6d5f9aff6..3073ef93825 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.360 2005/03/07 00:05:59 deraadt Exp $
+# $OpenBSD: install.sub,v 1.361 2005/03/08 13:13:54 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2005 Todd Miller, Theo de Raadt, Ken Westerback
@@ -1487,6 +1487,12 @@ questions() {
> /mnt/etc/rc.conf.local
fi
+ ask_yn "Start ntpd(8) by default?" no
+ if [[ $resp == y ]]; then
+ echo "ntpd_flags= # enabled during install" \
+ > /mnt/etc/rc.conf.local
+ fi
+
if [[ -n $MDXAPERTURE ]]; then
ask_yn "Do you expect to run the X Window System?" yes
if [[ $resp == y ]]; then