From dc4b0037ab3509d9a005887b1320ea891773d805 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 3 Dec 2015 23:07:53 +0000 Subject: mxs: convert from uci-defaults to board.d Signed-off-by: Jo-Philipp Wich SVN-Revision: 47742 --- target/linux/mxs/base-files/etc/board.d/02_network | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 target/linux/mxs/base-files/etc/board.d/02_network (limited to 'target/linux/mxs/base-files/etc/board.d/02_network') diff --git a/target/linux/mxs/base-files/etc/board.d/02_network b/target/linux/mxs/base-files/etc/board.d/02_network new file mode 100755 index 0000000000..102839dba3 --- /dev/null +++ b/target/linux/mxs/base-files/etc/board.d/02_network @@ -0,0 +1,19 @@ +#!/bin/sh +# Copyright (C) 2013-2015 OpenWrt.org + +. /lib/functions/uci-defaults-new.sh +. /lib/mxs.sh + +board_config_update + +board=$(mxs_board_name) + +case "$board" in +*) + ucidef_set_interface_lan 'eth0' + ;; +esac + +board_config_flush + +exit 0 -- cgit v1.2.3