Skip to content
Snippets Groups Projects
Commit 9ba6cd18 authored by John Crispin's avatar John Crispin
Browse files

base-files: fix inverse logic in board_detect script


Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>

SVN-Revision: 42220
parent fe3d4f21
No related branches found
No related tags found
No related merge requests found
#!/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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment