mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-28 22:45:31 +02:00
4668cb8663
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10871 3c298f89-4303-0410-b956-a3cf2f4a3e73
11 lines
228 B
Bash
11 lines
228 B
Bash
#!/bin/sh
|
|
if [ -e "/sys/bus/mdio_bus/drivers/Infineon ADM6996/0:00" ]; then
|
|
uci batch <<EOF
|
|
set network.lan.ifname=eth0.0
|
|
set network.wan=interface
|
|
set network.wan.ifname=eth0.1
|
|
set network.wan.proto=dhcp
|
|
commit network
|
|
EOF
|
|
fi
|