A simple command list suffices as this is just about redirecting all
output at once.
Feedback/OK?
Index: install.sub
===================================================================
RCS file: /cvs/src/distrib/miniroot/install.sub,v
retrieving revision 1.1016
diff -u -p -r1.1016 install.sub
--- install.sub 30 Jun 2017 16:46:02 -0000 1.1016
+++ install.sub 2 Jul 2017 04:02:08 -0000
@@ -2432,8 +2433,8 @@ mount_fs() {
# Feed the random pool some entropy before we read from it.
feed_random() {
- (dmesg; cat $CGI_INFO /*.conf; sysctl; route -n show; df;
- ifconfig -A; hostname) >/dev/random 2>&1
+ {dmesg; cat $CGI_INFO /*.conf; sysctl; route -n show; df;
+ ifconfig -A; hostname;} >/dev/random 2>&1
if [[ -e /mnt/var/db/host.random ]]; then
dd if=/mnt/var/db/host.random of=/dev/random bs=65536 count=1 \
status=none