|
|
@@ -1,15 +1,13 @@
|
|
|
#!/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)
|
|
|
@@ -26,6 +24,6 @@ tl-wdr4900-v1)
|
|
|
;;
|
|
|
esac
|
|
|
|
|
|
-uci commit network
|
|
|
+board_config_flush
|
|
|
|
|
|
exit 0
|