Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47540
3c298f89-4303-0410-b956-
a3cf2f4a3e73
#!/bin/sh
-# Copyright (C) 2014 OpenWrt.org
+# Copyright (C) 2014-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/mpc85xx.sh
. /lib/functions.sh
. /lib/functions/system.sh
+board_config_update
+
ucidef_set_interface_loopback
board=$(mpc85xx_board_name)
;;
esac
-uci commit network
+board_config_flush
exit 0