Browse Source

base-files: fix inverse logic in board_detect script

Signed-off-by: John Crispin <[email protected]>

SVN-Revision: 42220
John Crispin 11 years ago
parent
commit
9ba6cd186a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/base-files/files/bin/board_detect

+ 1 - 1
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)