diff options
author | 2015-08-01 00:25:14 +0000 | |
---|---|---|
committer | 2015-08-01 00:25:14 +0000 | |
commit | 7c73d0820979edb84f9fc57adb02162eca32ca1a (patch) | |
tree | 67010119a59b04f4effbfb60f215dba7b618cbcf | |
parent | Make syslogd tests more reliable. Allow TLS tests to drop a wider (diff) | |
download | wireguard-openbsd-7c73d0820979edb84f9fc57adb02162eca32ca1a.tar.xz wireguard-openbsd-7c73d0820979edb84f9fc57adb02162eca32ca1a.zip |
redirect dd standard output to /dev/null
-rw-r--r-- | distrib/armv7/ramdisk/install.md | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/distrib/armv7/ramdisk/install.md b/distrib/armv7/ramdisk/install.md index 1df2b4046f0..e1d4386b78d 100644 --- a/distrib/armv7/ramdisk/install.md +++ b/distrib/armv7/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.18 2015/08/01 00:15:37 jsg Exp $ +# $OpenBSD: install.md,v 1.19 2015/08/01 00:25:14 jsg Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -108,9 +108,12 @@ __EOT cat > /tmp/boot.cmd<<__EOT ; setenv loadaddr ${LOADADDR} ; setenv bootargs sd0i:/bsd.umg ; for dtype in usb mmc ; do for disk in 0 1 ; do \${dtype} dev \${disk} ; for fs in fat ext2 ; do if \${fs}load \${dtype} \${disk}:1 \${loadaddr} bsd.umg ; then bootm \${loadaddr} ; fi ; done; done; done; echo; echo failed to load bsd.umg __EOT - mkuboot -t script -a arm -o linux /tmp/boot.cmd /mnt/mnt/boot.scr - dd if=/mnt/usr/mdec/cubox/SPL of=/dev/${_disk}c bs=1024 seek=1 - dd if=/mnt/usr/mdec/cubox/u-boot.img of=/dev/${_disk}c bs=1024 seek=42 + mkuboot -t script -a arm -o linux /tmp/boot.cmd \ + /mnt/mnt/boot.scr + dd if=/mnt/usr/mdec/cubox/SPL \ + of=/dev/${_disk}c bs=1024 seek=1 >/dev/null + dd if=/mnt/usr/mdec/cubox/u-boot.img \ + of=/dev/${_disk}c bs=1024 seek=42 >/dev/null elif [[ -n $NITROGEN ]]; then cat > /tmp/6x_bootscript.scr<<__EOT ; setenv loadaddr ${LOADADDR} ; setenv bootargs sd0i:/bsd.umg ; for dtype in sata mmc ; do for disk in 0 1 ; do \${dtype} dev \${disk} ; for fs in fat ext2 ; do if \${fs}load \${dtype} \${disk}:1 \${loadaddr} bsd.umg ; then bootm \${loadaddr} ; fi ; done; done; done; echo; echo failed to load bsd.umg @@ -120,9 +123,12 @@ __EOT cat > /tmp/boot.cmd<<__EOT ; setenv loadaddr ${LOADADDR} ; setenv bootargs sd0i:/bsd.umg ; for dtype in mmc ; do for disk in 0 1 ; do \${dtype} dev \${disk} ; for fs in fat ext2 ; do if \${fs}load \${dtype} \${disk}:1 \${loadaddr} bsd.umg ; then bootm \${loadaddr} ; fi ; done; done; done; echo; echo failed to load bsd.umg __EOT - mkuboot -t script -a arm -o linux /tmp/boot.cmd /mnt/mnt/boot.scr - dd if=/mnt/usr/mdec/wandboard/SPL of=/dev/${_disk}c bs=1024 seek=1 - dd if=/mnt/usr/mdec/wandboard/u-boot.img of=/dev/${_disk}c bs=1024 seek=69 + mkuboot -t script -a arm -o linux /tmp/boot.cmd \ + /mnt/mnt/boot.scr + dd if=/mnt/usr/mdec/wandboard/SPL \ + of=/dev/${_disk}c bs=1024 seek=1 >/dev/null + dd if=/mnt/usr/mdec/wandboard/u-boot.img \ + of=/dev/${_disk}c bs=1024 seek=69 >/dev/null fi elif [[ ${MDPLAT} == "SUNXI" ]]; then cat > /mnt/mnt/uenv.txt<<__EOT |