aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-12-03 23:07:20 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-12-03 23:07:20 +0000
commit7cf1ff8a751eaa3b389e491fd874faca755037ba (patch)
tree60573f6059d5917094abd9e24ae0bb16035e3ea4 /target/linux/imx6/base-files/etc/uci-defaults
parent57014a284f882d1d3ec8253ca5f0a7154a4a7b8e (diff)
downloadupstream-7cf1ff8a751eaa3b389e491fd874faca755037ba.tar.gz
upstream-7cf1ff8a751eaa3b389e491fd874faca755037ba.tar.bz2
upstream-7cf1ff8a751eaa3b389e491fd874faca755037ba.zip
imx6: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47738
Diffstat (limited to 'target/linux/imx6/base-files/etc/uci-defaults')
-rw-r--r--target/linux/imx6/base-files/etc/uci-defaults/02_network34
1 files changed, 0 insertions, 34 deletions
diff --git a/target/linux/imx6/base-files/etc/uci-defaults/02_network b/target/linux/imx6/base-files/etc/uci-defaults/02_network
deleted file mode 100644
index bf830632e0..0000000000
--- a/target/linux/imx6/base-files/etc/uci-defaults/02_network
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) 2013 OpenWrt.org
-#
-
-[ -e /etc/config/network ] && exit 0
-
-touch /etc/config/network
-
-. /lib/functions/uci-defaults.sh
-. /lib/imx6.sh
-
-board=$(imx6_board_name)
-
-ucidef_set_interface_loopback
-
-case "$board" in
-*gw51xx |\
-*gw52xx)
- ucidef_set_interface_lan 'eth0'
- ;;
-*gw53xx |\
-*gw54xx |\
-*gw552x)
- ucidef_set_interfaces_lan_wan 'eth0' 'eth1'
- ;;
-*wandboard)
- ucidef_set_interface_wan 'eth0'
- ;;
-esac
-
-uci commit network
-
-exit 0