mirror of
https://github.com/linux-msm/bootrr.git
synced 2026-02-25 13:12:03 -08:00
There is nothing bash-specific in bootrr-auto, we can safely use /bin/sh instead. Verified with dash and with busybox sh. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
12 lines
242 B
Bash
Executable File
12 lines
242 B
Bash
Executable File
#!/bin/sh
|
|
|
|
$(pwd)/helpers/bootrr-generic-tests
|
|
|
|
for TEST in $(tr "\0" "\n" < /proc/device-tree/compatible); do
|
|
if [ -x "/usr/bin/${TEST}" ]; then
|
|
/usr/bin/${TEST}
|
|
elif [ -x "$(pwd)/boards/${TEST}" ]; then
|
|
$(pwd)/boards/${TEST}
|
|
fi
|
|
done
|