summaryrefslogtreecommitdiff
path: root/target/linux/realview/base-files/etc/uci-defaults/02-network
blob: 76d3f8d33ae81baf6890fe610aa27b4600ec5c05 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

. /lib/functions/uci-defaults.sh

ucidef_set_interface_loopback
ucidef_set_interface_raw "lan" "eth0"

uci batch <<EOF
set network.lan.proto='dhcp'
EOF