aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-08-19 09:59:39 +0000
committerJohn Crispin <blogic@openwrt.org>2014-08-19 09:59:39 +0000
commitfede953fc292ccc63a470a66f2da7e44c02fb94b (patch)
tree83bf28eea684899598e61efec2ef1e8401169d44 /package/base-files
parent8d22f9d0f4f63d4cbe5f03c0879e21a86950980f (diff)
downloadmaster-187ad058-fede953fc292ccc63a470a66f2da7e44c02fb94b.tar.gz
master-187ad058-fede953fc292ccc63a470a66f2da7e44c02fb94b.tar.bz2
master-187ad058-fede953fc292ccc63a470a66f2da7e44c02fb94b.zip
base-files: fix inverse logic in board_detect script
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42220 3c298f89-4303-0410-b956-a3cf2f4a3e73
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)