summaryrefslogtreecommitdiff
path: root/target/linux/avr32/base-files/etc/uci-defaults/02_network
blob: 3676146eb58ac8ff2afd667900d5af1d66970f30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
#
# Copyright (C) 2013 OpenWrt.org
#

[ -e /etc/config/network ] && exit 0

touch /etc/config/network

. /lib/functions/uci-defaults.sh

ucidef_set_interface_loopback
ucidef_set_interfaces_lan_wan "eth1" "eth0"

uci commit network

exit 0