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

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

touch /etc/config/network

. /lib/functions/uci-defaults.sh

ucidef_set_interface_loopback
ucidef_set_interface_lan "eth0"

uci commit network

exit 0