diff options
Diffstat (limited to 'target/linux/kirkwood/base-files/etc/board.d')
-rwxr-xr-x | target/linux/kirkwood/base-files/etc/board.d/01_leds | 3 | ||||
-rwxr-xr-x | target/linux/kirkwood/base-files/etc/board.d/02_network | 8 |
2 files changed, 9 insertions, 2 deletions
diff --git a/target/linux/kirkwood/base-files/etc/board.d/01_leds b/target/linux/kirkwood/base-files/etc/board.d/01_leds index ce1309966e..4518fc4b64 100755 --- a/target/linux/kirkwood/base-files/etc/board.d/01_leds +++ b/target/linux/kirkwood/base-files/etc/board.d/01_leds @@ -38,6 +38,9 @@ case "$board" in "guruplug-server-plus") ucidef_set_led_timer "health" "health" "guruplug:red:health" "200" "800" ;; +"nsa310b") + ucidef_set_led_default "health" "health" "nsa310:green:sys" "1" + ;; "sheevaplug" | \ "sheevaplug-esata") ucidef_set_led_timer "health" "health" "sheevaplug:blue:health" "200" "800" diff --git a/target/linux/kirkwood/base-files/etc/board.d/02_network b/target/linux/kirkwood/base-files/etc/board.d/02_network index f91e8a3252..91b59b93bd 100755 --- a/target/linux/kirkwood/base-files/etc/board.d/02_network +++ b/target/linux/kirkwood/base-files/etc/board.d/02_network @@ -22,13 +22,17 @@ case "$board" in "sheevaplug-esata") ucidef_set_interface_lan "eth0" "dhcp" ;; +"guruplug-server-plus") + ucidef_set_interface_lan "eth0 eth1" "dhcp" + ;; "linksys-audi"|\ "linksys-viper") ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5@eth0" "6@eth1" ;; -"guruplug-server-plus") - ucidef_set_interface_lan "eth0 eth1" "dhcp" +"nsa310b") + ucidef_set_interface_lan "eth0" "dhcp" + ucidef_set_interface_macaddr "lan" $( fw_printenv ethaddr | awk -F"=" '{print $2}' ) ;; *) ucidef_set_interface_lan "eth0" |