diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-01-11 08:02:10 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-01-11 08:02:10 +0000 |
commit | 58301cdeb8cb81acb213726407f0b1da20ad466f (patch) | |
tree | 4a7a33bfb4ef7952ba7e9a5134085f217e4dce57 /target/linux/ar71xx/base-files | |
parent | a0f378097ed829d3fb71d6f9c0e1ebe8a795395d (diff) | |
download | mtk-20170518-58301cdeb8cb81acb213726407f0b1da20ad466f.zip mtk-20170518-58301cdeb8cb81acb213726407f0b1da20ad466f.tar.gz mtk-20170518-58301cdeb8cb81acb213726407f0b1da20ad466f.tar.bz2 |
ar71xx: add support for the D-Link DIR-600 rev. A1 board
SVN-Revision: 19100
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 6e4ed5f..1fc2c34 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -42,6 +42,9 @@ get_status_led() { bullet-m | rocket-m | nano-m) status_led="ubnt:green:link4" ;; + dir-600-a1) + status_led="dir-600-a1:green:power" + ;; dir-615-c1) status_led="dir-615c1:green:status" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 42f41e7..327107b 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -19,6 +19,9 @@ ar71xx_board_name() { *AW-NR580) name="aw-nr580" ;; + *"DIR-600 rev. A1") + name="dir-600-a1" + ;; *"DIR-825 rev. B1") name="dir-825-b1" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index 65ea223..13a1544 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -68,7 +68,7 @@ platform_check_image() { [ "$ARGC" -gt 1 ] && return 1 case "$board" in - ap81 | ap83 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt-400n | bullet-m | nano-m | rocket-m) + ap81 | ap83 | dir-600-a1 | dir-615-c1 | dir-825-b1 | mzk-w04nu | mzk-w300nh | tew-632brp | wrt-400n | bullet-m | nano-m | rocket-m) [ "$magic" != "2705" ] && { echo "Invalid image type." return 1 |