mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[geos]
* adds sane default uci environment * adds sane default package selection contributed by Philip Prindeville git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25065 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
16
target/linux/x86/geos/base-files/etc/uci-defaults/network
Normal file
16
target/linux/x86/geos/base-files/etc/uci-defaults/network
Normal file
@@ -0,0 +1,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__
|
||||
Reference in New Issue
Block a user