aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-08-19 09:59:39 +0000
committerJohn Crispin <john@openwrt.org>2014-08-19 09:59:39 +0000
commit9ba6cd186a1f3078de995b44453341e6f7f22341 (patch)
tree45500c08f761e90508aadf9fd68239b4006920cc /package/base-files
parentfe3d4f2176461867c772049279ab9cbf63fe20dd (diff)
downloadupstream-9ba6cd186a1f3078de995b44453341e6f7f22341.tar.gz
upstream-9ba6cd186a1f3078de995b44453341e6f7f22341.tar.bz2
upstream-9ba6cd186a1f3078de995b44453341e6f7f22341.zip
base-files: fix inverse logic in board_detect script
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42220
Diffstat (limited to 'package/base-files')
-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 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)