mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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
This commit is contained in:
parent
8d22f9d0f4
commit
fede953fc2
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user