projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
x86: correct image magic for grub2 images
[oweals/openwrt.git]
/
target
/
linux
/
x86
/
base-files
/
lib
/
soekris.sh
1
#!/bin/sh
2
3
net48xx_board_name () {
4
local name
5
local pci=`wc -l /proc/bus/pci/devices`
6
7
case "$pci" in
8
*"8"*)
9
name="net4826"
10
;;
11
*1[0-4]*)
12
name="net4801"
13
;;
14
*)
15
name="net4826"
16
;;
17
esac
18
echo $name
19
}