aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/imx6/base-files/etc/uci-defaults
diff options
context:
space:
mode:
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