Roll back the mvebu conversion to board detection code as we need to fix
some strcutural issues first.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47597
3c298f89-4303-0410-b956-
a3cf2f4a3e73
#!/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
esac
-board_config_flush
+ucidef_commit_leds
exit 0
# 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
;;
esac
-board_config_flush
+uci commit network
exit 0