malta: fix generating network configuration
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 3 Jan 2016 11:36:26 +0000 (11:36 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 3 Jan 2016 11:36:26 +0000 (11:36 +0000)
With the default network config provided by package base-files present,
board_detect won't create a new config from board.json.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48076 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/malta/base-files.mk [new file with mode: 0644]

diff --git a/target/linux/malta/base-files.mk b/target/linux/malta/base-files.mk
new file mode 100644 (file)
index 0000000..fdd2c71
--- /dev/null
@@ -0,0 +1,3 @@
+define Package/base-files/install-target
+       rm -f $(1)/etc/config/network
+endef