aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files')
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/ramips.sh3
3 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 904afd1a41..3ed0fbb670 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -110,6 +110,7 @@ case "$FIRMWARE" in
whr-g300n | \
whr-300hp2 | \
whr-600d | \
+ whr-1166d | \
wl-330n | \
wl-330n3g | \
wl-351 | \
@@ -141,7 +142,7 @@ case "$FIRMWARE" in
cy-swr1100)
rt2x00_eeprom_extract "factory" 8192 512
;;
- rt-n56u | whr-600d)
+ rt-n56u | whr-600d | whr-1166d)
rt2x00_eeprom_extract "factory" 32768 512
;;
esac
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/01_leds b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
index c5e380cbc6..c2f768b8a3 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/01_leds
+++ b/target/linux/ramips/base-files/etc/uci-defaults/01_leds
@@ -176,7 +176,8 @@ case $board in
set_wifi_led "asus:blue:wifi"
;;
whr-300hp2 |\
- whr-600d)
+ whr-600d |\
+ whr-1166d)
ucidef_set_led_default "power" "power" "buffalo:green:power" "1"
ucidef_set_led_default "router" "router" "buffalo:green:router" "1"
;;
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index 5d897fc521..697599341b 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -241,6 +241,9 @@ ramips_board_detect() {
*"WHR-600D")
name="whr-600d"
;;
+ *"WHR-1166D")
+ name="whr-1166d"
+ ;;
*"WHR-G300N")
name="whr-g300n"
;;