X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/98bf7b355be45c78f7211fa79af71e2d426b630c..5e588d2fdb9bb6fc8f64b6a098fa6212e56848ca:/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom?ds=inline diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom index e2dfc1631..ad5652a7f 100644 --- a/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom +++ b/target/linux/lantiq/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom @@ -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