X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fbase-files%2Ffiles%2Fbin%2Fboard_detect;fp=package%2Fbase-files%2Ffiles%2Fbin%2Fboard_detect;h=ee04b9e64dc7332bb7d1d19b906ccab47b625f61;hb=599a7eae3169581a536252ffe304ea6d0a392fba;hp=ddd17a16337d1159cc05fda4d6ce1c7a0dd34e75;hpb=d3b15f36cd11c70e4fa7573f55b890e50e83107b;p=openwrt-working-2016%2F.git diff --git a/package/base-files/files/bin/board_detect b/package/base-files/files/bin/board_detect index ddd17a1633..ee04b9e64d 100755 --- a/package/base-files/files/bin/board_detect +++ b/package/base-files/files/bin/board_detect @@ -1,6 +1,6 @@ #!/bin/sh -[ -d "/etc/board.d/" -a ! -f "/etc/board.json" ] || { +[ -d "/etc/board.d/" -a ! -f "/etc/board.json" ] && { for a in `ls /etc/board.d/*`; do [ -x $a ] || continue; $(. $a)