aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/bin/board_detect
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/bin/board_detect')
-rwxr-xr-xpackage/base-files/files/bin/board_detect2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/bin/board_detect b/package/base-files/files/bin/board_detect
index 441db6a08f..840bd0178d 100755
--- a/package/base-files/files/bin/board_detect
+++ b/package/base-files/files/bin/board_detect
@@ -5,7 +5,7 @@ CFG=$1
[ -n "$CFG" ] || CFG=/etc/board.json
[ -d "/etc/board.d/" -a ! -s "$CFG" ] && {
- for a in `ls /etc/board.d/*`; do
+ for a in $(ls /etc/board.d/*); do
[ -x $a ] || continue;
$(. $a)
done