summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortodd <todd@openbsd.org>2010-12-22 22:22:40 +0000
committertodd <todd@openbsd.org>2010-12-22 22:22:40 +0000
commita06911f0dc4afc78d8bc173b024e9ebb2e7b02ea (patch)
treed32d888d09f94ce2fd7d133c89344e8d099ed595
parentfix sloppy paste in; (diff)
downloadwireguard-openbsd-a06911f0dc4afc78d8bc173b024e9ebb2e7b02ea.tar.xz
wireguard-openbsd-a06911f0dc4afc78d8bc173b024e9ebb2e7b02ea.zip
remove redundant junk
pointed out by Mikalaj Kucharski, mikolaj at kuharski dot name ok deraadt@
-rw-r--r--distrib/miniroot/install.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sh b/distrib/miniroot/install.sh
index fa106d6ff77..319737e04ec 100644
--- a/distrib/miniroot/install.sh
+++ b/distrib/miniroot/install.sh
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sh,v 1.213 2010/12/22 21:23:26 todd Exp $
+# $OpenBSD: install.sh,v 1.214 2010/12/22 22:22:40 todd Exp $
# $NetBSD: install.sh,v 1.5.2.8 1996/08/27 18:15:05 gwr Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
@@ -274,7 +274,6 @@ done )
# Feed the random pool some junk before we read from it
(dmesg; cat $SERVERLISTALL; sysctl; route -n show; df;
ifconfig -A; hostname) >/mnt/dev/arandom 2>&1
-cat $SERVERLISTALL >/mnt/dev/arandom 2>/dev/null
echo -n "done.\nGenerating initial host.random file..."
/mnt/bin/dd if=/mnt/dev/arandom of=/mnt/var/db/host.random \