forked from Ivasoft/openwrt
ramips: fix Xiaomi MiWiFi Mini board, image and profile names
The following patch: * changes board name from "xiaomi-miwifi-mini" to "miwifi-mini" * changes filenames of dts and profile * fixes LED names in dts file and base-files scripts * removes manufacturer name from image filename for Xiaomi MiWiFi Mini device. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com> SVN-Revision: 46617
This commit is contained in:
@@ -256,8 +256,8 @@ case $board in
|
||||
wt3020)
|
||||
ucidef_set_led_default "power" "power" "nexx:blue:power" "0"
|
||||
;;
|
||||
xiaomi-miwifi-mini)
|
||||
ucidef_set_led_default "power" "power" "xiaomi:red:status" "1"
|
||||
miwifi-mini)
|
||||
ucidef_set_led_default "power" "power" "miwifi-mini:red:status" "1"
|
||||
;;
|
||||
y1 |\
|
||||
y1s)
|
||||
|
||||
@@ -144,7 +144,7 @@ ramips_setup_interfaces()
|
||||
wsr-600 | \
|
||||
wsr-1166 | \
|
||||
wt1520 | \
|
||||
xiaomi-miwifi-mini |\
|
||||
miwifi-mini |\
|
||||
y1)
|
||||
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
|
||||
ucidef_add_switch "switch0" "1" "1"
|
||||
|
||||
@@ -233,8 +233,8 @@ get_status_led() {
|
||||
xdxrn502j)
|
||||
status_led="xdxrn502j:green:power"
|
||||
;;
|
||||
xiaomi-mini)
|
||||
status_led="xiaomi:red:status"
|
||||
miwifi-mini)
|
||||
status_led="miwifi-mini:red:status"
|
||||
;;
|
||||
f7c027)
|
||||
status_led="belkin:orange:status"
|
||||
|
||||
Reference in New Issue
Block a user