You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
247 B

#!/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
}