summaryrefslogtreecommitdiff
path: root/distrib/miniroot/install.sub
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-05-29 00:46:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-05-29 00:46:42 +0000
commitb463445cd7d52203a347452777be48abfdb8a4d8 (patch)
tree3e6a69f69f6945e3aa3bb9a665624f6014a139f9 /distrib/miniroot/install.sub
parent7fde1781353c66b302b2b429f2dc0f21cbd3e012 (diff)
Remember to copy the modified ntpd.conf back to /etc
problem spotted by Thomas Pfaff
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r--distrib/miniroot/install.sub3
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index de0fe817d80..6a634d4cd52 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.556 2009/05/28 02:34:56 krw Exp $
+# $OpenBSD: install.sub,v 1.557 2009/05/29 00:46:41 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
@@ -1656,6 +1656,7 @@ apply()
sed -e "s/^servers /#&/;/#server /a\\
server $1
" /mnt/etc/ntpd.conf >/tmp/ntpd.conf
+ cp /tmp/ntpd.conf /mnt/etc/ntpd.conf
fi
fi