projects
/
openwrt
/
staging
/
thess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe3d4f2
)
base-files: fix inverse logic in board_detect script
author
John Crispin
<john@openwrt.org>
Tue, 19 Aug 2014 09:59:39 +0000
(09:59 +0000)
committer
John Crispin
<john@openwrt.org>
Tue, 19 Aug 2014 09:59:39 +0000
(09:59 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 42220
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 ddd17a16337d1159cc05fda4d6ce1c7a0dd34e75..ee04b9e64dc7332bb7d1d19b906ccab47b625f61 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)