[x86] Fix sysupgrade for squashfs, jffs2 and ext4 images
[openwrt/svn-archive/archive.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 }