openwrtv3/target/linux/mxs/base-files/etc/board.d/02_network
Jo-Philipp Wich dc4b0037ab mxs: convert from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47742
2015-12-03 23:07:53 +00:00

19 lines
237 B
Bash
Executable file

#!/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