1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-12 01:11:52 +02:00
openwrt-xburst/target/linux/x86/base-files/lib/soekris.sh

20 lines
247 B
Bash
Raw Normal View History

#!/bin/sh
net48xx_board_name () {
local name
local pci=`wc -l /proc/bus/pci/devices`
case "$pci" in
*"8"*)
name="net4826"
;;
*1[0-4]*)
name="net4801"
;;
*)
name="net4826"
;;
esac
echo $name
}