projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
base-files: change type of adsl and vdsl to dsl only
[openwrt/svn-archive/archive.git]
/
package
/
base-files
/
files
/
bin
/
board_detect
1
#!/bin/sh
2
3
[
-d
"/etc/board.d/"
-a
!
-f
"/etc/board.json"
] && {
4
for
a
in
`ls /etc/board.d/*`
;
do
5
[
-x
$a
]
||
continue
;
6
$
(
.
$a
)
7
done
8
}
9
10
[
-f
"/etc/board.json"
]
||
return
1
11
[
-f
"/etc/config/network"
]
||
{
12
touch
/
etc
/
config
/
network
13
/
bin
/
config_generate
14
}