treewide: remove execute bit and shebang from board.d files
[openwrt/staging/rmilecki.git] / target / linux / ath79 / generic / base-files / etc / board.d / 02_network
old mode 100755 (executable)
new mode 100644 (file)
index 4380a38..86be2b1
@@ -1,4 +1,3 @@
-#!/bin/sh
 
 . /lib/functions/system.sh
 . /lib/functions/uci-defaults.sh
@@ -204,6 +203,10 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth0" "2:lan" "3:wan" "6@eth1"
                ;;
+       dlink,dap-3662-a1)
+               ucidef_add_switch "switch0" \
+                       "0@eth0" "1:lan:2" "2:lan:1" "6@eth1"
+               ;;
        dlink,dch-g020-a1)
                ucidef_add_switch "switch0" \
                        "0@eth0" "1:lan:2" "2:lan:1"
@@ -502,7 +505,8 @@ ath79_setup_macs()
                lan_mac=$(mtd_get_mac_ascii bdcfg "lanmac")
                label_mac=$lan_mac
                ;;
-       dlink,dap-2695-a1)
+       dlink,dap-2695-a1|\
+       dlink,dap-3662-a1)
                label_mac=$(mtd_get_mac_ascii bdcfg "wlanmac")
                ;;
        dlink,dir-825-b1)