openwrt/target/linux/x86/geos/base-files/etc/uci-defaults/network
John Crispin 079ba5ac14 * adds sane default uci environment * adds sane default package selection
contributed by Philip Prindeville

SVN-Revision: 25065
2011-01-22 22:43:51 +00:00

17 lines
293 B
Bash

#!/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__