summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhalex <halex@openbsd.org>2011-07-09 17:53:58 +0000
committerhalex <halex@openbsd.org>2011-07-09 17:53:58 +0000
commita1194d01d7a397f75c3d58009f157b354fbb9067 (patch)
treeb52249f10ec0ccb0fbbd4d84236f527fca781bdf
parentIf ipv4+icmp6 or ipv6+icmp packets were embedded into an icmp (diff)
downloadwireguard-openbsd-a1194d01d7a397f75c3d58009f157b354fbb9067.tar.xz
wireguard-openbsd-a1194d01d7a397f75c3d58009f157b354fbb9067.zip
move the 'updating firmwares' message into rc.firsttime rather than having
startup-like output in fw_update "looks good" deraadt@
-rw-r--r--distrib/miniroot/install.sub5
1 files changed, 3 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index e2622dd742d..9ad766422c7 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.645 2011/07/09 03:14:53 deraadt Exp $
+# $OpenBSD: install.sub,v 1.646 2011/07/09 17:53:58 halex 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
@@ -1650,7 +1650,8 @@ update_firmwares() {
[[ $MODE == upgrade ]] && _get=Update
ask_yn "$_get non-free firmwares on first boot?" no
[[ $resp == y ]] && \
- echo '/usr/sbin/fw_update -v' >> /mnt/etc/rc.firsttime
+ echo "echo 'updating firmwares'; /usr/sbin/fw_update -v" \
+ >> /mnt/etc/rc.firsttime
}
# Create a skeletal but useful /etc/fstab from /tmp/fstab by stripping all