diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-12-18 12:57:01 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-12-18 12:57:01 +0000 |
commit | 4b565ddb0611fbfd8675944e0b9b6e870348acf2 (patch) | |
tree | 3aedaa01f8fac2e0e203d1f1de8f2cda5d0fdc72 /target/linux/ar71xx/base-files/etc/preinit.arch | |
parent | af172fc7041977ed158830232a6924742751d66e (diff) | |
download | master-187ad058-4b565ddb0611fbfd8675944e0b9b6e870348acf2.tar.gz master-187ad058-4b565ddb0611fbfd8675944e0b9b6e870348acf2.tar.bz2 master-187ad058-4b565ddb0611fbfd8675944e0b9b6e870348acf2.zip |
ar71xx: separate DIR-615 rev. C1 support from the TEW-632 (based on the
patch from #6186)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18818 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/preinit.arch')
-rw-r--r-- | target/linux/ar71xx/base-files/etc/preinit.arch | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/preinit.arch b/target/linux/ar71xx/base-files/etc/preinit.arch index a6af7e117a..637aa5fc50 100644 --- a/target/linux/ar71xx/base-files/etc/preinit.arch +++ b/target/linux/ar71xx/base-files/etc/preinit.arch @@ -32,6 +32,10 @@ preinit_set_mac_address() { tew-632brp) fetch_mac_from_mtd config lan_mac wan_mac ;; + dir-615-c1) + fetch_mac_from_mtd config lan_mac wan_mac + echo 1 > /sys/class/leds/dir-615-c1:green:wancpu/brightness + ;; wrt160nl) fetch_mac_from_mtd nvram lan_hwaddr wan_hwaddr ;; |