summaryrefslogtreecommitdiff
path: root/target/linux/x86/geos/base-files/etc/uci-defaults/network
blob: a30be95109c4b939ff60fd546908192723e476a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

uci batch <<__EOF__

delete network.lan

set network.lan=interface
set network.lan.type=bridge
set network.lan.ifname="eth0 eth1"
set network.lan.proto=static
set network.lan.ipaddr="192.168.1.1"
set network.lan.netmask="255.255.255.0"
set network.lan.nat=1

commit network
__EOF__