projects
/
librecmc
/
librecmc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
alix2: add config files for bridging
[librecmc/librecmc.git]
/
target
/
linux
/
x86
/
geos
/
base-files
/
etc
/
uci-defaults
/
network
1
#!/bin/sh
2
3
uci batch <<__EOF__
4
5
delete network.lan
6
7
set network.lan=interface
8
set network.lan.type=bridge
9
set network.lan.ifname="eth0 eth1"
10
set network.lan.proto=static
11
set network.lan.ipaddr="192.168.1.1"
12
set network.lan.netmask="255.255.255.0"
13
set network.lan.nat=1
14
15
commit network
16
__EOF__