From c46cd218f0bd477aac68ce8bc497e877a3f44207 Mon Sep 17 00:00:00 2001 From: juhosg Date: Mon, 7 Nov 2011 21:44:03 +0000 Subject: ar71xx: create TL-WR{841N-v1,941ND} network config from uci-defaults git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28824 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/base-files/etc/uci-defaults/network | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults') diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network index 2f2525bb02..5cf80796cf 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network @@ -13,6 +13,17 @@ set network.loopback.netmask='255.0.0.0' EOF } +set_interface_raw() { + local cfg=$1 + local ifname=$2 + + uci batch <