diff options
author | 2015-06-08 18:31:17 +0000 | |
---|---|---|
committer | 2015-06-08 18:31:17 +0000 | |
commit | 8b0b80cca7739db2211d46c81d5cbb85867394f4 (patch) | |
tree | 938d72f3d16ad6d3595e3ba061904abbb4274e0d | |
parent | Move the scan_dmesg calls back into the functions. It can't be called (diff) | |
download | wireguard-openbsd-8b0b80cca7739db2211d46c81d5cbb85867394f4.tar.xz wireguard-openbsd-8b0b80cca7739db2211d46c81d5cbb85867394f4.zip |
expr isn't on the ramdisk use ksh for addition
problem spotted by jasper@
-rw-r--r-- | distrib/armv7/ramdisk/install.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/armv7/ramdisk/install.md b/distrib/armv7/ramdisk/install.md index deebc1842e6..2ae7c70e5e4 100644 --- a/distrib/armv7/ramdisk/install.md +++ b/distrib/armv7/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.14 2015/06/08 17:35:43 jsg Exp $ +# $OpenBSD: install.md,v 1.15 2015/06/08 18:31:17 jsg Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -136,7 +136,7 @@ md_prep_fdisk() { if [[ -n $CUBOX ]]; then bootsectorstart="2048" fi - bootsectorend=`expr $bootsectorstart + $bootsectorsize` + bootsectorend=$(($bootsectorstart + $bootsectorsize)) while :; do _d=whole |