3676146eb58ac8ff2afd667900d5af1d66970f30
[15.05/openwrt.git] / target / linux / avr32 / base-files / etc / uci-defaults / 02_network
1 #!/bin/sh
2 #
3 # Copyright (C) 2013 OpenWrt.org
4 #
5
6 [ -e /etc/config/network ] && exit 0
7
8 touch /etc/config/network
9
10 . /lib/functions/uci-defaults.sh
11
12 ucidef_set_interface_loopback
13 ucidef_set_interfaces_lan_wan "eth1" "eth0"
14
15 uci commit network
16
17 exit 0