mcs814x: switch from uci-defaults to board.d
[openwrt/svn-archive/archive.git] / target / linux / mcs814x / base-files / etc / board.d / 02_network
diff --git a/target/linux/mcs814x/base-files/etc/board.d/02_network b/target/linux/mcs814x/base-files/etc/board.d/02_network
new file mode 100755 (executable)
index 0000000..a447923
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# Copyright (C) 2015 OpenWrt.org
+#
+
+. /lib/functions/uci-defaults-new.sh
+
+board_config_update
+ucidef_set_interface_lan "eth0"
+board_config_flush
+
+exit 0