ramips: use maccalc instead of hexdump + sed
[openwrt.git] / target / linux / ramips / base-files / etc / diag.sh
index 1678460..1a5747f 100755 (executable)
@@ -30,8 +30,8 @@ status_led_off() {
 
 get_status_led() {
        case $(ramips_board_name) in
-       dir-300-b1)
-               status_led="dir-300b:green:status"
+       dir-300-b1 | dir-600-b1 | dir-600-b2)
+               status_led="d-link:green:status"
                ;;
        fonera20n)
                status_led="fonera20n:green:power"
@@ -42,6 +42,9 @@ get_status_led() {
        mofi3500-3gn)
                status_led="mofi3500-3gn:green:status"
                ;;
+       nw718)
+               status_led="nw718:amber:cpu"
+               ;;
        pwh2004)
                status_led="pwh2004:green:power"
                ;;