|
|
@@ -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
|