projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d22f9d
)
base-files: fix inverse logic in board_detect script
author
John Crispin
<blogic@openwrt.org>
Tue, 19 Aug 2014 09:59:39 +0000
(09:59 +0000)
committer
John Crispin
<blogic@openwrt.org>
Tue, 19 Aug 2014 09:59:39 +0000
(09:59 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42220
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/base-files/files/bin/board_detect
patch
|
blob
|
history
diff --git
a/package/base-files/files/bin/board_detect
b/package/base-files/files/bin/board_detect
index
ddd17a1
..
ee04b9e
100755
(executable)
--- 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)