[package] libpcap: explicitely disable libnl support to prevent different build resul...
[openwrt.git] / target / linux / lantiq / base-files / etc / hotplug.d / firmware / 10-rt2x00-eeprom
index e2dfc16..ad5652a 100644 (file)
@@ -24,9 +24,11 @@ rt2x00_eeprom_extract() {
 
 [ -e /lib/firmware/$FIRMWARE ] && exit 0
 
+. /lib/lantiq.sh
+
 case "$FIRMWARE" in
 "RT2860.eeprom" )
-       local board=$(grep ^machine /proc/cpuinfo | sed "s/machine.*: \(.*\) - .*/\1/g")
+       local board=$(lantiq_board_name)
        case $board in
        ARV7525PW)
                rt2x00_eeprom_extract "board_config" 1040 272
This page took 0.025742 seconds and 4 git commands to generate.