malta: fix generating network configuration
authorFelix Fietkau <nbd@openwrt.org>
Sun, 3 Jan 2016 11:36:26 +0000 (11:36 +0000)
committerFelix Fietkau <nbd@openwrt.org>
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>
SVN-Revision: 48076

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