base-files: fix inverse logic in board_detect script

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42220
lede-17.01
John Crispin 2014-08-19 09:59:39 +00:00
parent fe3d4f2176
commit 9ba6cd186a
1 changed files with 1 additions and 1 deletions

View File

@ -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)