From: John Crispin Date: Tue, 19 Aug 2014 09:59:39 +0000 (+0000) Subject: base-files: fix inverse logic in board_detect script X-Git-Tag: reboot~6167 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=9ba6cd186a1f3078de995b44453341e6f7f22341 base-files: fix inverse logic in board_detect script Signed-off-by: John Crispin SVN-Revision: 42220 --- 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)