diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2016-08-04 11:34:17 -0700 |
---|---|---|
committer | Dominik Sliwa <dominik.sliwa@toradex.com> | 2016-08-17 14:08:52 +0200 |
commit | a30a2d5809f3ca58781bd6439c297a2832b80d8a (patch) | |
tree | a388b1593dc3b4fde0f8cb56c18ccd8e9a195e19 | |
parent | 838ea9bf30fda85fa64e02d438d9a9e0ce749409 (diff) |
u-boot-toradex-fw-utils: fix bashismmeta-toradex_split
Do not use the function keyword, then the script works fine with
with Busybox' shell implementation.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r-- | recipes-bsp/u-boot/files/fw_unlock_mmc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/files/fw_unlock_mmc.sh b/recipes-bsp/u-boot/files/fw_unlock_mmc.sh index f9f253b..86d941c 100644 --- a/recipes-bsp/u-boot/files/fw_unlock_mmc.sh +++ b/recipes-bsp/u-boot/files/fw_unlock_mmc.sh @@ -1,5 +1,5 @@ # Give fw_setenv mmcblk0boot0 write permissions -function fw_setenv() { +fw_setenv() { echo 0 > /sys/block/mmcblk0boot0/force_ro /sbin/fw_setenv "$@" echo 1 > /sys/block/mmcblk0boot0/force_ro |