8d4c6d547d0051fbd1e093449ee8714a4c34981e
[oweals/openwrt.git] / target / linux / ramips / base-files / etc / uci-defaults / network
1 #!/bin/sh
2 RT305X=`cat /proc/cpuinfo | grep RT305`
3 [ -z "${RT305X}" ] || {
4         uci batch <<EOF
5 set network.lan.ifname=eth0.1
6 set network.wan=interface
7 set network.wan.ifname=eth0.2
8 set network.wan.proto=dhcp
9 commit network
10 EOF
11 }
12
13 uci commit network