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

Revert "mvebu: migrate led and network setup to board detection framework"


Roll back the mvebu conversion to board detection code as we need to fix
some strcutural issues first.

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

SVN-Revision: 47597
parent 7fc4a458
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
#
# Copyright (C) 2014-2015 OpenWrt.org
# Copyright (C) 2014 OpenWrt.org
#
. /lib/functions/uci-defaults-new.sh
. /lib/functions/uci-defaults.sh
. /lib/mvebu.sh
board_config_update
board=$(mvebu_board_name)
case "$board" in
......@@ -34,6 +32,6 @@ armada-xp-linksys-mamba)
esac
board_config_flush
ucidef_commit_leds
exit 0
......@@ -3,10 +3,12 @@
# Copyright (C) 2014-2015 OpenWrt.org
#
. /lib/functions/uci-defaults-new.sh
. /lib/mvebu.sh
[ -e /etc/config/network ] && exit 0
touch /etc/config/network
board_config_update
. /lib/functions/uci-defaults.sh
. /lib/mvebu.sh
ucidef_set_interface_loopback
......@@ -39,6 +41,6 @@ armada-xp-gp)
;;
esac
board_config_flush
uci commit network
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