Skip to content
Snippets Groups Projects
Commit dc4b0037 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

mxs: convert from uci-defaults to board.d


Signed-off-by: default avatarJo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47742
parent 60dbff6a
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
# Copyright (C) 2015 OpenWrt.org
. /lib/functions/uci-defaults-new.sh
board_config_update
ucidef_set_board_id "$(cat /tmp/sysinfo/board_name)"
ucidef_set_model_name "$(cat /tmp/sysinfo/model)"
board_config_flush
exit 0
#!/bin/sh
# Copyright (C) 2013 OpenWrt.org
# Copyright (C) 2013-2015 OpenWrt.org
[ -e /etc/config/network ] && exit 0
touch /etc/config/network
. /lib/functions/uci-defaults.sh
. /lib/functions/uci-defaults-new.sh
. /lib/mxs.sh
ucidef_set_interface_loopback
board_config_update
board=$(mxs_board_name)
......@@ -18,6 +14,6 @@ case "$board" in
;;
esac
uci commit network
board_config_flush
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment